原始url: http://lujun.info/2010/08/vc6-0-sp6-sdk-feb-2003-msdn-2001/
根据微软网站的介绍,目前已经不支持VC6.0了,最后一个支持vc6.0的windows sdk是2003年2月版的。最后一个支持vc6.0的MSDN是2001年10月版的。最新的VC6的SP补丁是Sp6。所以如果现在还有遗留项目需要 用到vc6来开发的话,最好的开发环境就是VC6.0+sp6补丁+feb 2003的SDK + oct 2001 msdn。
- msdn在某BT网站下载
- vc6.0随便一搜索就能下载到,推荐英文企业版。
- feb2003 sdk在微软官方下载。地址比较隐蔽,这里放出,有效期未知,目前有效。
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.1.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.2.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.3.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.4.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.5.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.6.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.7.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.8.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.9.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.10.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.11.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.12.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.13.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.bathttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/Extract.exe
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.1.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.2.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.3.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.4.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.5.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.6.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.7.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.8.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.9.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.10.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.11.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.12.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.13.cabhttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.bathttp://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/Extract.exe
输入PSDK-FULL E:/2003.2.SDK ,注意后面要给出解压到的文件夹,如 E:/2003.2.SDK
然后用窗口方式进入E:/2003.2.SDK找到Setup就可以安装了
- sp6补丁在微软官方还有。容易找到。
不过VC6真的是在IDE中功能太弱了。用了后来的版本的VS后,觉得用回VC6很不顺手。还是建议能在有条件的情况下能够将项目升级到新版本的VS下。VS2008之后还是很不错的。
<2010_0918_1137>
我也打造了一个这样的vc6环境, 好像例子的提供和msdn2000不同。比如CryptVerifySignature.
<2011_0327>
安装了一个电脑城装机版V9.2, 安装了360进行了杀毒,杀木马,升级XP补丁.
然后安装vc6, msdn(vc6自带), vc6sp6, msdn2001.
再安装PSDK(2003Rc1), 报错提示: 'Versions' 未定义'
查了资料说可能是组策略不对(命令行运行=> gpedit.msc), 还是不能安装.
我想起以前的安装是从原版的WindowsXp上安装的, 这次可能是升级到WinXpSp3后出现的问题.
也有资料说:不能在改版的WindowsXp上安装PSDK, 但是我记得以前安装的Winxp有很多是改版的(番茄WinXp之类的).
我觉得有可能是打补丁之后的WinxpSp3和psdk有冲突.
找了网上资料, 重新安装ie6.0.2900.5512. PSDK还是装不上,同样的提示.
- rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%/Inf/ie.inf
实在不想从WinXpSp2原版开始重新装, 看到csdn上一个人用手工方式装PSDK, 实验通过.
手头有需要PSDK的.DSW, 实验一下手工安装的PSDK是否能用.
实验通过: 编译需要PSDK的工程,编译不过. 指定Include, Lib, Exe执行路径后, 编译通过. 编译过的程序运行也正常.
打开PSDK安装后的目录看了一下,好像缺点东西。正好我的开发机是从WinXpSp2原版上自动安装的PSDK, 比较了一下自动安装和手工安装后的区别.
用WinDiff比较了两个文件夹的区别, 自动安装时,我选了64位的代码. 这部分安装后主要在PSDK目标文件夹中/bin,/include,/lib中有64位的目录,这不是问题。主要是自动安装的PSDK, 多了/src. 这说明手工安装的PSDK, 调试时无法跟进这些函数去单步了. 也无法对这部分代码形成Debug的版本.
问题解决:
我把自动安装后的PSDK中的/src拷贝到手工安装后的PSDK目录中,再WinDiff, 给了我一个惊喜, 在Windiff中翻页不到20次(没仔细数, 绝对不到20次), 在自动安装版中,多出来的都是64位相关的文件. src目录压缩后才2M.
Windows Server 2003 Platform SDK for vc6(February 2003) src目录压缩包下载点:
http://download.csdn.net/source/3132524