Interview Question in Visual Studio 2005
Interview Question :: How to include windows.h correctly |
I am using VC++ 2005 standard edition and tried using #include <windows.h>
in my project but there are a list of errors with the description:
"error C2872: 'IUnknown' : ambiguous symbol C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\unknwn.h "
I found that the windows.h file is in the C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK directory. The project has also included the $(VCInstallDir)\PlatformSDK\lib, \include and \bin lines in the project options window.
How to include windows.h correctly? |
|
|
|

Loading ...