Debug is the debug version and release is the release version. To generate a release, choose build> set Active configuration> project configuration in the menu and click OK.
I don't know how to generate a release because I have been using VC ++ 6.0 for a long time.Program! Shame ~~ I checked some information as follows:
1. Check whether the debug version is correct. Note the possible errors caused by debugging methods such as trace.
2. The release version of the EXE file is linked to a Standard mfc dll, such as mfc42.dll. These dll will be installed in the system when Windows is installed. Therefore, such an EXE can run on a machine without visual C ++ 6.0 installed. The debug version cannot, unless static links are used.
To generate a release version, follow these steps:
Right-click the blank area in the menu, select "build", select "Win32 release", and re-compile the link.
An error I encountered:
Release/server. PCH no such file or directory
Server is my program name. Solution:
Project -- set -- C/C ++ -- classification: Pre-compiled header file -- do not use pre-compensated header -- OK -- Re-all