如何在Windows Vista或更高版本上运行Visual C ++ 6 IDE?


8

打开项目或使用“打开”文件菜单时,Visual C ++ 6崩溃,

在没有Windows XP仿真器/虚拟机/ Windows XP Mode的情况下,如何“强制” VC ++ 6在Windows 7下工作?

Answers:


7

要实现您想要的目标,请按照以下说明进行操作:

1)导航到VC ++ 6安装的安装目录

2)打开/ Common / MSDev98 / Bin /文件夹。

3)右键单击MSDEV.exe,然后选择“属性”。

4)选择ocmpatibility选项卡,然后选择“以兼容模式运行此程序:”

从下拉菜单中选择Windows 98 / me(Windows XP SP3也可以正常工作)

5)选中“以管理员身份运行”

6)应用更改并启动MSDEV.exe

7)选择工具>选项

8)在编辑器选项卡中,您必须取消选中“保存选项”和“语句完成选项”中的所有框

9)点击确定

10)再次选择工具>选项

11)在兼容性选项卡中,确保在“ Developer Studio”中具有“当前源代码编辑器仿真:”下拉框

12)仅选中“启用无选择的复制”和“在对话框编辑器中双击以编辑代码(仅适用于MFC)”

13)点击确定

14)再次选择工具>选项

15)在“工作区”选项卡中,确保仅选中以下各项(可能是):“显示状态栏”,“输出”,“工作区”

16)点击确定

17)关闭IDE

18)转到您的可视C ++安装目录,然后转到/ Common / MSDev98 / Bin / IDE /

19)删除以下文件:DEVDBG.PKG(“是删除”或“至少移到桌面,远离VC ++ 6”)

20)创建一个DEVCPP.PKG的副本

21)将创建的副本重命名为DEVDBG.PKG

22)在Windows Vista / 7/8下使用Visual Studio C ++ 6玩得开心

注意:您不能使用“打开文件”菜单。您必须通过右键单击.DSP文件(如果未关联)来加载项目,然后选择使用MSDEV.exe打开。

其他一些东西也可能无法正常工作,但是我至少设法在W7x64上使用了VC ++ 6.0 IDE(我无法以某种方式应用补丁:()

建立一些高级项目就像一个魅力!

(如果VC ++ 6询问您使用哪个“两个C ++”版本,请选择第一个!)

更新:由于本文,菜单崩溃错误可能可以得到解决:

http://support.microsoft.com/kb/231655

如果一切都正确完成,则在Windows Vista / 7/8安装中应该有VC ++ 6.0的工作版本。

请注意,编译器始终可以工作,只是IDE有时会崩溃。(并且我们现在尝试修复它)

更新2:

如果您设法安装SP6(我将其安装在虚拟XP计算机中,然后将更新的文件复制回了我的Windows 7主机),那么将会出现更多问题。


0

另外,请尝试禁用“桌面合成”和“在高DPI设置下显示缩放”。这样可以解决某些项目有时无法刷新的问题,并加快其他过程的速度(例如一次选择很多项目)。


0

对于Windows 8上的安装,取消选中“ 数据访问”->“更改选项”->“ ADO,RDS和OLE DB提供程序”非常重要。有关更多信息,请参见此评论:http : //www.fortypoundhead.com/showcontent.asp? artid= 23916

Visual Studio Installation
1.  Ensure UAC has been turned off.
2.  Ensure your user has administrative rights on the computer.
3.  Run the Setup.exe file in the Visual Studio Installer.
4.  “Run the program without getting help” when the error “This program has compatibility issues”.
5.  Click Next, Accept the Agreement and click Next.
6.  Enter your software key, name and company name. Click Next.
7.  Update Microsoft Virtual Machine for Java.
8.  “Run the program without getting help” when the error “This program has compatibility issues”. Note message shown twice.
9.  Say “Yes” to reboot the system.
10. On start up the setup continues to run.
11. “Run the program without getting help”
12. Start Page shown. Click on Desktop.
13. “Run the program without getting help”
14. Visual Studio 6.0 Enterprise Edition shown with options “Custom, Products or Server Application”.
15. At this point click “Exit” on the installer and confirm with “Yes” otherwise an error will be shown if you continue.
16. Run the Setup.exe file in the Visual Studio Installer.
17. “Run the program without getting help”
18. Click Next and Accept the Agreement and click Next
19. Enter your software key, name and company name. Click Next.
20. Select Custom and click Next
21. Installation folder click next
22. “Run the program without getting help”
23. Click “Continue”.
24. Product ID click “Ok”
25. Tools -> Change Options -> OLE/Com Object Viewer, Uncheck and click OK.
26. Enterprise Tools -> Change Options -> Visual Studio Analyzer, Uncheck and click OK.
27. Data Access -> Change Options -> ADO, RDS and OLE DB Providers, Uncheck.
28. At this point it warns saying the component is essential. Click OK and OK again.
29. Click continue.
30. Say Yes to register environment variables.
31. Say Yes to VSS DB format.
32. Install box with “Destination File:” should appear.
33. Setup is updating your system message box should appear.
34. Click OK to Windows NT Debug Symbols.
35. Click Restart Windows.
36. On start up the setup continues to run and loads APEMREG.exe.
37. Install using compatibly settings.
38. “Run the program without getting help”
39. Untick install MSDN. Click Next and yes to confirm.
40. Select Nothing and click Next.
41. Select Nothing and click next.
42. Untick Register and click finish. 

SP6 Installation
1.  Run setupsp6.exe
2.  Click Continue.
3.  Click I Agree.
4.  Setup Successful click OK.

0

我认为我将发布对此的更新,因为即使在按照前面的步骤进行安装时,我仍然很难安装Visual Studio 6.0。

这是我在Win7 Pro 32bit系统上安装Visual Studio 6.0的步骤。您应注意完全按照这些步骤操作,不要偏离。安装失败是由于过时的DLL文件无法注册。这些程序将有助于避免它们。

步骤1:将文件复制到硬盘上。A.复制第二张CD时,将它们复制到与CD 1相同的文件夹中。这将为您提供完整的安装设置。

步骤2:进入每个文件夹,并将所有.exe文件的可比性模式设置为Windows98。还要检查禁用桌面组成并在高DPI设置下显示缩放比例。

步骤3:运行安装程序。

步骤4:选择自定义安装

步骤5:取消选中98DCom

步骤6:取消选中除Visual Basic以外的所有选项。忽略任何警告消息。人们可能会讨厌VB,这是VB一次成为您的朋友。其目的是成功安装。

步骤6:成功安装后,从控制面板运行“程序和功能”程序。

步骤7:在列表中选择Visual Basic 6.0程序,然后单击Modify / uninstall(修改/卸载)按钮。

步骤8:仅选中Visual C ++选项以添加Visual C ++。

步骤9:运行Visual Studio 6.0 Service Pack 6程序。这应该可以解决打开文件崩溃的问题。

步骤10:在Windows 7上享受使用Visual Studio 6.0的乐趣。

斯科特·托维

更新:VB6 Service Pack 6可以防止打开文件崩溃,但是您必须以管理员身份运行Visual C ++。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.