Vs2012 64-bit program Compilation

Source: Internet
Author: User

Installing a 64-bit operating system is not a necessary condition for compiling 64-bit programs. The key is to install the 64-bit program compiler.

1. Select "build"-"Configuration Manager" to open the Configuration Manager. Click Create solution platform.

2. Select the "x64" platform and click "OK.

3. At this time, the platform in the Configuration Manager has been changed to the selected x64. At this time, the 64-bit program is compiled. You can quickly switch to the target platform in the platform drop-down box on the toolbar.

Note: When a project calls the DLL of another project, the number of digits must be the same, that is, the project must be compiled to 64-bit, And the DLL must also be compiled to 64-bit. If the project is to be compiled into 32 bits, the DLL must also be compiled into 32 bits.

This is also true for secondary development.

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.