解决方案1:安装VS 2003或更高级的版本的编译器,安装时一定要记得勾选:PlatformSDK
Microsoft Visual Studio 8\VC\PlatformSDK\Include
解决方案2:坚持使用VC 6.0的coder们,可以从获取微软发布的最后一个platformsdk,安装后使用(安装方法在‘下载页面’的左侧)。
使用方法:
很简单,只要设置目录就可以了,如下:
tools->options
directories选项卡
里面showdirectories for:
选include,加上你microsoft sdk的include目录,再以同样的方法,选lib目录,加上你microsoft sdk的lib目
录
这个是我的:(psdk装在了C:\PROGRAM FILES\MICROSOFT SDK)
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE
C:\PROGRAM
FILES\MICROSOFT SDK\LIB
(注意:your other(DX or PSDK etc.) SDK header and lib path should be set before
VC includes)
附录:Windows SDK和Platform
SDK (PSDK)的区别
The Windows SDK supports development with the Win32 programming model
on x86, x64, and Itanium platform architectures, and also supports
development with the .NET Framework programming model. The Windows
SDK is the successor to the Platform SDK and the .NET Framework SDK.
Windows SDKs include most content found in recent PSDKs plus content for
the .NET Framework. The PSDKs do not include content for the .NET
Framework programming model.
阅读(1420) | 评论(0) | 转发(0) |