小标
2018-08-28
来源 :
阅读 1646
评论 0
摘要:本文主要向大家介绍了VC编程之VC++6.0在Win7以上系统上Open或Add to Project files崩溃问题解决新办法,通过具体的内容向大家展示,希望对大家学习VC编程有所帮助。
本文主要向大家介绍了VC编程之VC++6.0在Win7以上系统上Open或Add to Project files崩溃问题解决新办法,通过具体的内容向大家展示,希望对大家学习VC编程有所帮助。
法一、这种方法来自下列地址://www.mamicode.com/info-detail-517499.html
崩溃原因是和office高版本冲突,比如我64位win7装了64位office2013及visio就遇到了这个问题(我很纳闷,记得重装系统前装的是32位office2013及visio就未曾遇到该问题)。
法二、目前网上流传的解决方法是微软提供的Filetool.exe办法,详情请见//blog.csdn.net/he_qiao/article/details/8245693
法三、安装完整版VS6,然后安装SP6,具体没试过。
法一:注意这里说的SP6是英文版,不是中文版的SP6
今天用google搜索在微软社区中看到一个人的办法很好用,成功解决了该问题,目前VC++6使用正常无问题。(提前说下,即使安装了已经自带sp6补丁的VC++6也可以应用下面方法的)
他的办法是这样的:
PS: For those who use windows 7 and VC6; I had problems getting the actual setup program to work properly. Instead, I updated it manually. To fix the Add->Files problem, make sure you are NOT running any part of Visual Studio 6.0 and make sure also you dont have any files open either local or over the network (on the safe side, just disable your network). Then you can fix it by doing this:
Download and Unpack the VC6 SP6 into a dir like C:\INSTALL
Locate VS6sp61.cab and open it with an archive editor (I use winrar)
locate the subfolder common\msdev98\bin in the archive
Assuming your VC6 is installed in c:\program files\microsoft visual studio, go to this folder in explorer "c:\program files\microsoft visual studio\common\MSDev98\Bin"
Backup all the files and folders in this directory before proceeding, I just put them in a .rar file just in case something went wrong.
Now, select all the files and folders listed in your archive program‘s file view (you should still be in the folder mentioned in step 3).
Drag them or extract them to the folder mentioned in step 4.
When asked, make sure you confirm that you wish to overwrite the files (do for every one or use checkbox at bottom).
Depending on what suite of VS6 you have, you may need to delete msdev.exe and rename one of the msdevP.exe or msdevS.exe. If you are using Enterprise Edition, you dont need to. My guess is that msdevP is for Professional Edition and msdevS is for Standard Edition.
Once you have done all that, start visual studio and open/create a project. Then try project->add->files, you should be good to go. Remember this method works for Windows 7 x86, i dont know if it would work in vista or in x64 versions.
Hope this helps someone - I feel that since I know about it I should share it since it isn‘t an overly obvious alternative and if reversed I would hope others would do the same.
翻译过来就是:
下载VC++6.0补丁Vs6sp6,英文版地址:
//download.microsoft.com/download/1/9/f/19fe4660-5792-4683-99e0-8d48c22eed74/Vs6sp6.exe
双击该补丁,会要求解压到一个临时目录(目录随你),解压后,找到该临时目录下的VS6sp61.cab压缩包,用Winrar直接打开,然后在winrar窗口中定位到common\msdev98\bin\,如图:
先这样放着,我们在windows资源管理器中再打开VC++6.0的安装位置,定位到子文件夹\common\MSDev98\Bin下,,比如我的是D:\VS\VC++6.0\Common\MSDev98\Bin\
然后把winrar窗口中的文件及文件夹 直接ctrl + A 全选,拖动到该文件夹下,若提示文件或文件夹直接替换和覆盖。一般我们装的VC++都是企业版吧,这样把msdevP.exe和msdevS.exe删除就行了,否则专业版(P)或标准版(S) VC++6.0要将msdevP.exe或msdevS.exe改名为msdev.exe替换掉原来的。
好了,再打开一个VC++6.0工程,试试打开按钮 和 添加文件到工程按钮 是不是正常了~~~
本文由职坐标整理并发布,希望对同学们有所帮助。了解更多详情请关注职坐标编程语言VC/MFC频道!
喜欢 | 0
不喜欢 | 0
您输入的评论内容中包含违禁敏感词
我知道了

请输入正确的手机号码
请输入正确的验证码
您今天的短信下发次数太多了,明天再试试吧!
我们会在第一时间安排职业规划师联系您!
您也可以联系我们的职业规划师咨询:
版权所有 职坐标-一站式AI+学习就业服务平台 沪ICP备13042190号-4
上海海同信息科技有限公司 Copyright ©2015 www.zhizuobiao.com,All Rights Reserved.
沪公网安备 31011502005948号