Ah...some VC 2010 had snuck into the configuration. I must add that this isn't my code, but something I've inherited from our customer.
Now, however, I get:
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\SpecStrings.h(9) : fatal error RC1015: cannot open include file 'sal.h'.
I notice that I only have sal.h in VC 2010's folders.
I've checked to ensure that the SDK include/lib folders are placed first (which they were).
Didn't you read the thread I referred to in my previous post?
The latest SDK compatible with VC++ 6.0 is the one from February 2003 (SDK for Windows 2003 Server) and you seem to use the SDK for VS2008 (for Vista and above)
Hm...that's a little weird...because I'm using the previous version (6.0A), so I don't know where the VS2008 stuff should've come from.
I started out with the 2003 version (7.0A), but since I got compile errors and since some people said it might cause problems I went to find the 6.0A.
My include is this:
I've checked the command line settings to ensure that I'm not looking into anything newer, and that is not the case...
Again:
The latest SDK compatible with VC++ 6.0 is the one from February 2003 (SDK for Windows 2003 Server)
Its version is 5 (to be precise: 5.2.3790.0)
Bookmarks