[Closed] Trouble using windows includes with DWORD, INT..
I'm trying to use a static library that use some includes files of windows sdk (winsock2.h) but I get compilation errors about ambiguous symbols: DWORD and INT. I searched in the documentation and those symbols appears to be, in unreal, typedef of "FUnusableClass".
Why prevent the use of those symbols? Maybe we are not supposed to use Windows stuff directly and must use Unreal's instead, like here?
What I'm trying to do is integrate a library we made, based on network library asio (http://think-async.com/Asio/), in our unreal project. So what can/should i do?
The question has been closed Dec 17 '15 at 07:53 PM by Doug E for the following reason:
The question is answered, right answer was accepted
Where we need access to the Windows types in engine, we wrap the include in:
answered Apr 10 '14 at 01:04 PM
Jamie Dale STAFF
In my static blueprint utilities class. Also I use 2 static buffers for the data gets.
in the .h
top of the .cpp
in the .cpp
answered Jul 07 '15 at 08:28 PM
SND R Keene
Follow this question
Once you sign in you will be able to subscribe for any updates here