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

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

Susan Sarandon
Susan SarandonOriginal
2024-12-04 11:05:10515browse

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

Compiling 64-Bit Applications with Visual C 2010 Express

While the 32-bit version of Visual C 2010 Express lacks a 64-bit compiler, this limitation can be overcome by utilizing the Windows Software Development Kit (SDK) version 7.1. Here's a comprehensive guide:

1. Install the Windows SDK:

Obtain and install the Windows SDK to acquire the necessary 64-bit compiler. Visit the following link:

https://msdn.microsoft.com/en-us/windowsserver/bb980924.aspx

2. Configure Project Settings:

Within the project's "Properties" dialog box:

  • Set the "Configuration" drop-down to "All Configurations."
  • Under "Platform," switch to "Win32."
  • Click the "Configuration Manager" button and create a new platform named "x64."
  • Set the "Active solution platform" drop-down to "x64."
  • The "Platform" drop-down should now display "x64."

3. Update the Toolset:

Under "Configuration Properties | General" in the "Properties" menu, change the "Platform Toolset" from "v100" to "Windows7.1SDK."

Additional Resources:

Detailed instructions for step 2 can be found in the following Microsoft reference:

https://msdn.microsoft.com/en-us/library/9yb4317s.aspx

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