# DWORD ambiguous error in empty plugin

**URL:** <https://forums.unrealengine.com/t/dword-ambiguous-error-in-empty-plugin/363364>\
**Category:** Plugins\
**Tags:** include, type, unreal-engine, compile-error, Plugins, question\
**Created:** [July 8, 2016, 1:08pm UTC](https://forums.unrealengine.com/t/dword-ambiguous-error-in-empty-plugin/363364 "2016-07-08T13:08:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d7cbf4ea](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d7cbf4ea](https://forums.unrealengine.com/u/anonymous_user_d7cbf4ea)\
**Post date:** [July 8, 2016, 1:08pm UTC](https://forums.unrealengine.com/t/dword-ambiguous-error-in-empty-plugin/363364/1 "2016-07-08T13:08:41Z")

</div>

Hi,

I made a new Blueprint Library Plugin from the wizzard. I did not add any includes.  
As soon as I use a DWORD I get an error:

For example:  
void deleteMe() {  
DWORD test;  
}

**Error C2872 ‘DWORD’: ambiguous symbol**

I have seen all the solutions where to wrap the includes inside of

```
#include "AllowWindowsPlatformTypes.h"
 ...
 #include "HideWindowsPlatformTypes.h"

```

but I haven’t included anything and still it is ambiguous, not undefined. Using another Datatype is not an option, as I want to call a function that needs this datatype.

Any ideas? Thanks for your Help!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d7cbf4ea](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d7cbf4ea](https://forums.unrealengine.com/u/anonymous_user_d7cbf4ea)\
**Post date:** [July 12, 2016, 10:44am UTC](https://forums.unrealengine.com/t/dword-ambiguous-error-in-empty-plugin/363364/2 "2016-07-12T10:44:30Z")

</div>

Ok, I solved the problem. According to Microsoft DWORD is declared as followes:

```
 typedef unsigned long DWORD, *PDWORD, *LPDWORD;

```

Thats why I could change my variables to unsigned long and still use the function!

---

<div class="post-metadata">

**Author:** ![GSagiakos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GSagiakos](https://forums.unrealengine.com/u/GSagiakos)\
**Post date:** [January 10, 2017, 2:42pm UTC](https://forums.unrealengine.com/t/dword-ambiguous-error-in-empty-plugin/363364/3 "2017-01-10T14:42:52Z")

</div>

it is the only solution that worked for me …  
thanks
