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.