Not sure what to make of this error. Added -D_WIN32_WINNT=0x0501 to Visual Studio\'s \"Command Line\" options under Project Properties but it says it doesn\'t r
-D_WIN32_WINNT=0x0501
Add following line in your top source code.
#include