Errors using windows.h
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I am using VC++ 2005 standard edition and tried using #include 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?