I'm attempting to build some C++ code that requires the Windows 7.0 SDK header files and libraries. My VC++ Directories is set to:
$(VCInstallDir)include
$(VCInstallDir)atlmfcinclude
$(WindowsSdkDir)include
$(WindowsSdkDir)commoninclude
$(FrameworkSDKDir)include
My $(WindowsSdkDir)
variable should be set to C:Program FilesMicrosoft SDKsWindowsv7.0
-- I've used the SDK's "Visual Studio Registration" configuration tool to set it, and it looks correct in the registry. I've checked under HKLMSOFTWAREMicrosoftMicrosoft SDKsWindows
(and the same in Wow6432Node
.
Despite this, Visual C++ is still picking up header files from C:Program FilesMicrosoft SDKsWindowsv6.0A
What's wrong, and how do I fix it?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…