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
For Code Blocks here is how you do it.
Right click **Project Name** on your left >> Click 'Build Options' >> Select Debug or Release on your left >> Select 'Compiler Settings' Tab on the right >> Select #defines tab >>
Then add the following line as it is:
_WIN32_WINNT=0x0501
>> Click Ok >> Close >> Right click **Project Name** again >> Re-build.