Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5096772
  • 博文数量: 1696
  • 博客积分: 10870
  • 博客等级: 上将
  • 技术积分: 18357
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-30 15:16
文章分类
文章存档

2017年(1)

2016年(1)

2015年(1)

2013年(1)

2012年(43)

2011年(17)

2010年(828)

2009年(568)

2008年(185)

2007年(51)

分类: WINDOWS

2010-04-07 23:27:38

解决方案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.
阅读(1400) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~