Solution to some problems of vc6.0 in window 7

Source: Internet
Author: User

Many people have reported that vc6 is not easy to use or even unavailable in win 7, but it is actually a setup problem in most cases.

The following is a small list of my installation process and Problems and Solutions. I hope it will be useful to my friends who have encountered the same problems:

1. Install vc6.0 (SP5) or vc6.0 (SP6). It is best not to have Chinese characters in the path (I usually install it in D:/program files/Microsoft visualstudio /).

2. Run msdev.exe with the administrator ID (that is, right-click the icon of vc6.0 and "Run as administrator").

3. Create a console project for Hello, world and compile the link. A message indicating compatibility issues will appear during this process. Select "Do not remind" and click OK.

4. Close the project

 

Possible problems:

 

1. debugging failed: the reason may be that a does not contain debugging information during compilation. B 、does not start msdev.exe with the Administrator Login ID.

 

2. devdbg. PKG crash:

Problem event name: appcrash

Application name: msdev. exe

 
...

Module name: devdbg. PKG

Faulty module version: 6.0.8168.0

...

Exception Code: c0000005

...

The reason is that the msdev compatibility mode is fully set. You can cancel the msdev compatibility mode. (right-click the vc6.0 icon and choose "attribute"> "compatibility" to cancel the compatibility settings .)

 

3. When debugging, The shif + F5 is manually exited and the debugging process is frozen:

The cause of this problem is unknown. It is often prompted that the program cannot be written during compilation. View the system process list. You can see that the process that was last debugged is in the Process List, and the process cannot be terminated by the "End Task.

Temporary solution: Save the project area, exit msdev.exe, and restart msdev. Remember to let the program exit again when debugging again.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.