Home >Backend Development >C++ >How Can I Compile a 64-Bit Application Using Visual C 2010 Express?

How Can I Compile a 64-Bit Application Using Visual C 2010 Express?

Mary-Kate Olsen
Mary-Kate OlsenOriginal
2024-12-03 06:04:09646browse

How Can I Compile a 64-Bit Application Using Visual C   2010 Express?

Compiling a 64-Bit Application in Visual C 2010 Express

While Visual C 2010 Express lacks a native 64-bit compiler, it's possible to enable 64-bit application compilation with the help of additional components.

Step-by-Step Instructions:

  1. Install Windows Software Development Kit 7.1:
    The Windows SDK includes a 64-bit compiler necessary for building 64-bit applications. Download and install it from:

    [Windows Software Development Kit 7.1](http://msdn.microsoft.com/en-us/windowsserver/bb980924.aspx)

  2. Configure Project Settings:

    • Open your project's Properties dialog box.
    • Set the "Configuration" to "All Configurations."
    • Select "x64" from the "Platform" drop-down.
    • In the "Configuration Manager" dialog, add a new Platform (x64) and set the "Active solution platform" to "x64."
  3. Change Toolset:

    • Go to Configuration Properties | General in the project Properties.
    • Set Platform Toolset to "Windows7.1SDK."

Additional Notes:

  • For further details on project configuration, refer to Microsoft's documentation:

    [Creating a 64-Bit Application in Visual C ](http://msdn.microsoft.com/en-us/library/9yb4317s.aspx)

The above is the detailed content of How Can I Compile a 64-Bit Application Using Visual C 2010 Express?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn