When I try to compile my c++ project using Visual Studio 2010 in either Win32 or x64 mode I get the following error:
>C:\\Program Files (x86)\\Microsoft SDK
At the beginning of the file you are compiling, before any include, try to put ONE of these lines
include
#define _X86_ #define _AMD64_ #define _ARM_
Choose the appropriate, only one, depending on your architecture.