Benutzer-Werkzeuge

Webseiten-Werkzeuge


x64_howto_for_visual_studio_express_2008_9.0

x64 howto for Visual Studio express 2008/9.0:

  1. Download and install „Windows SDK for Windows Server 2008 and .NET Framework 3.5“ from Microsoft.
  2. Run „Programs“ → „Microsoft Windows SDK v6.1“ → „CMD Shell“
  3. Run VCExpress.exe with /useenv switch. e.g.:
    • "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\VCExpress.exe" /useenv
  4. Open „Configuration Manager..:“ from the „Build“ menu
  5. Choose „<New…>“ from the „Active Solution Configuration“ combo box, name it whatever you want (Debug64 / Release64 would be a good choice) and choose to „Copy settings from:“ your existing project configuration.
  6. Edit your projects properties → „Configuration Properties“ as follows:
    • „C/C++“ → „General“ → „Debug Information Format“: „Program Database (/Zi)“
    • „C/C++“ → „Preprocessor“ → „Preprocessor Definitions“: Change „WIN32“ to „WIN64“
    • „Linker“ → „General“ → „Register Output“: No
    • „Linker“ → „Advanced“ → „Target Machine“: „MachineX64 (/MACHINE:X64)“

Now (re)build your project and enjoy :)

x64_howto_for_visual_studio_express_2008_9.0.txt · Zuletzt geändert: 08.08.2016 (Externe Bearbeitung)