Generation of VC ++ release

Source: Internet
Author: User

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

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.