开发者

How to make VS2010 C++ see the windows 7 64bit SDK?

Been trying for 2 hours now, and theres n开发者_如何学JAVAo luck. I wanna make it so I got templets for a win64 app (Not .net) but I can't find where to add platforms. Please help?


There is no "Win64" API. There are just 32-bit Win32 apps and 64-bit Win32 apps, and the only difference is a compiler/linker option which compiler/linker are used (different directory).

The Win32 templates work just fine for 64-bit development.


While (much) earlier versions of Visual C++ shipped with a private copy of SDK headers, VS2010 installs a version of the Windows SDK and uses an environment variable to find SDK headers during build. So installing a new SDK, as long as it updates your environment variables, is automatically found by Visual C++ projects at build-time. (With the old Visual C++ versions, the SDK installer was supposed to edit the tool paths in the Visual Studio section of the registry, which could occasionally fail)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜