win7如何安装vc6.0
方法/步骤
下载完成后,文件是一个iso的压缩文件,最好不要用Daemon Tools等虚拟光驱软件打开。直接用winrar解压即可!
解压后,打开文件夹,运行setup.exe安装程序。在弹出的兼容性提示对话框中选择“是”!


在安装向导中选择“Next”

在软件许可对话框中选择“accept”。然后继续“next”。

在product's ID(产品id)中全部输入1即可,company's name随便填,最好用英文名。 然后next。上面的自己填写,我就不截图了,如果想购买正版产品,请在微软官方网站购买!
下面就是选择安装目录了,如果不想麻烦,就默认安装目录,不要修改,直接next。但考虑到很多人不想把vc6.0软件安装到C盘,本人操作演示安装到D:软件目录下!点击Browse选择你自己想要的安装目录,然后next继续!

在接下来的安装对话框中选择“Continue”。

这一步及其重要,直接关系到vc6.0能否在你的电脑中正常运行!!
选择“Custom”选项,即自定义安装。

首先选择“Tools”选项,然后再右面选择“Change Option...”

把“OLE/Com Object Viewer”选项勾掉!然后点击“OK”。回到原安装界面,点击“Continue”。


在弹出的设置环境变量对话框中把“Register Environment Variables”勾上,点击OK。安装程序启动。


安装完成后,提示安装成功。然后可能弹出安装msdn窗口,因为msdn没有集成在安装程序中,要独立安装,所以点击Exit退出即可。


截一张我的win7系统图片,启动vc6.0,写一个hello程序测试一下看看效果,正常显示,没有错误和警告!


再编译一个自己写的复杂一点的程序,关于局域网测试服务端的一个程序,编译后无错误无警告,并且正常可以使用开源皮肤文件,程序完美运行!


注意事项
由于注意事项太多,我分开一栏来写。首先就是文件目录问题,安装在C盘以外的vc6.0才会出现这种问题。比如在代码正确及头文件也已包含的情况下hello world程序也会报错。请查看包含目录文件是否有错。
若不正确请安装下面修改。
executatble files:
C:Program FilesMicrosoft Visual StudioCommonMSDev98Bin
C:Program FilesMicrosoft Visual StudioVC98BIN
C:Program FilesMicrosoft Visual StudioCommonTOOLS
C:Program FilesMicrosoft Visual StudioCommonTOOLSWINNT
include files:
C:Program FilesMicrosoft Visual StudioVC98INCLUDE
C:Program FilesMicrosoft Visual StudioVC98MFCINCLUDE
C:Program FilesMicrosoft Visual StudioVC98ATLINCLUDE
library files:
C:Program FilesMicrosoft Visual StudioVC98LIB
C:Program FilesMicrosoft Visual StudioVC98MFCLIB
source files:
C:Program FilesMicrosoft Visual StudioVC98MFCSRC
C:Program FilesMicrosoft Visual StudioVC98MFCINCLUDE
C:Program FilesMicrosoft Visual StudioVC98ATLINCLUDE
C:Program FilesMicrosoft Visual StudioVC98CRTSRC
如果你装在其他盘里,则仿照其路径变通就行。关键是microsoft visual studio 后面的东西要相同!!

若执行时提示缺失相关dll文件,如“SHSQL.DLL”或“NMSQL.DLL”,那可能是你原来已经安装过vc6的其他版本,而后没有卸载干净导致的,解决办法是网上下载相关dll文件,拷贝到系统目录下即可。即“C:Windowssystem”目录。相关dll已上传至百度网盘。
;uk=758110515

若运行过程中提示兼容性对话框,则选择“不在显示此消息”即可。

若出现:Error spawning cl.exe,请看注意事项1,修改方法一致。