Home >Backend Development >C++ >How Can I Compile 64-Bit Applications with Visual C 2010 Express?

How Can I Compile 64-Bit Applications with Visual C 2010 Express?

Mary-Kate Olsen
Mary-Kate OlsenOriginal
2024-11-29 01:31:10959browse

How Can I Compile 64-Bit Applications with Visual C   2010 Express?

Compiling 64-Bit Applications with Visual C 2010 Express

Despite the limitations of the 32-bit edition of Visual C 2010 Express, it is possible to compile 64-bit applications using a simple workaround.

Step 1: Install Windows Software Development Kit (SDK)

Visual C 2010 Express lacks a 64-bit compiler. However, the Windows SDK, version 7.1, includes one. Download and install it from: http://msdn.microsoft.com/en-us/windowsserver/bb980924.aspx

Step 2: Modify Project Configuration

  • Open the project's Properties dialog.
  • Select "All Configurations" and "x64" in the "Configuration" and "Platform" drop-downs, respectively.
  • Click the "Configuration Manager" button.
  • Add a new "x64" platform.
  • Set "Active solution platform" to "x64."

Step 3: Change Toolset

  • Return to the project's Properties dialog.
  • Under "Configuration Properties | General," change "Platform Toolset" from "v100" to "Windows7.1SDK."

These steps should enable you to compile 64-bit applications using Visual C 2010 Express. For further details on step 2, refer to Microsoft's documentation: http://msdn.microsoft.com/en-us/library/9yb4317s.aspx.

The above is the detailed content of How Can I Compile 64-Bit Applications with 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