现在的位置: 首页 > 综合 > 正文

32位Xp安装vs2008错误, 找不到windows.h, 解决办法

2013年11月07日 ⁄ 综合 ⁄ 共 689字 ⁄ 字号 评论关闭

1,找一个安装vs2008正常的32位XP系统, copy其安装目录下C:/Program Files/Microsoft SDKs/Windows/v6.0A/整个目录,覆盖问题电脑的相同目录;

2,将路径 C:/Program Files/Microsoft SDKs/Windows/v6.0A/bin, 加入vs2008->tools->options->projects and solutions->VC++ directories->executable files下;
3,将路径 C:/Program Files/Microsoft SDKs/Windows/v6.0A/include, 加入vs2008->tools->options->projects and solutions->VC++ directories->Include files下;
4,将路径 C:/Program Files/Microsoft SDKs/Windows/v6.0A/lib, 加入vs2008->tools->options->projects and solutions->VC++ directories->Library files下;
5, 问题解决 ! 
有一哥们(teluwl ),摸索了一套更好的方法, 不需要copy 文件了,我把他的转过来:
解决:

找到:

J:/WCU/WinSDK/          (J盘为VS2008的安装盘)

用WINRAR打开 WinSDK_Build.exe 并解压缩到桌面temp文件夹。

打开桌面temp文件夹的VistaClientHeadersLibs-x86.msi文件。安装就行。

抱歉!评论已关闭.