[Compiler] 64bit Projekt auf VC Express 08

Hier kann über allgemeine Themen diskutiert werden, die sonst in kein Forum passen.
Insbesondere über Szene, Games, Kultur, Weltgeschehen, Persönliches, Recht, Hard- und Software.
Antworten
Benutzeravatar
exploid
Establishment
Beiträge: 146
Registriert: 21.08.2005, 18:33

[Compiler] 64bit Projekt auf VC Express 08

Beitrag von exploid »

...
Zuletzt geändert von exploid am 04.11.2010, 14:00, insgesamt 1-mal geändert.
All your base are belong to us! Justice
Benutzeravatar
Chromanoid
Moderator
Beiträge: 4260
Registriert: 16.10.2002, 19:39
Echter Name: Christian Kulenkampff
Wohnort: Lüneburg

Re: [Compiler] 64bit Projekt auf VC Express 08

Beitrag von Chromanoid »

Benutzeravatar
exploid
Establishment
Beiträge: 146
Registriert: 21.08.2005, 18:33

Re: [Compiler] 64bit Projekt auf VC Express 08

Beitrag von exploid »

,,,
Zuletzt geändert von exploid am 04.11.2010, 14:00, insgesamt 1-mal geändert.
All your base are belong to us! Justice
Benutzeravatar
exploid
Establishment
Beiträge: 146
Registriert: 21.08.2005, 18:33

Re: [Compiler] 64bit Projekt auf VC Express 08

Beitrag von exploid »

...
Zuletzt geändert von exploid am 04.11.2010, 14:01, insgesamt 2-mal geändert.
All your base are belong to us! Justice
Benutzeravatar
Chromanoid
Moderator
Beiträge: 4260
Registriert: 16.10.2002, 19:39
Echter Name: Christian Kulenkampff
Wohnort: Lüneburg

Re: [Compiler] 64bit Projekt auf VC Express 08

Beitrag von Chromanoid »

Schau dir mal den text unter der Überschrift
"VC2008 Express installed on a 64-bit operating system" an :).
All instructions so far have been valid when Visual C++ is installed on a 32-Bit operating system. If it is installed on a 64-Bit operating system there are some more pitfalls (and presumably bugs in the SDK installer). At first there is a special branch in the registry for 32-Bit applications on 64-Bit operating system. So all paths in the registry mentioned above have to be changed from: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCExpress\9.0\ ...] to [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VCExpress\9.0\…} The second change is an even more subtle bug: The 64-Bit C++ compiler exists in two flavors. One is a cross compiler running on 32-Bit (installed in …\VC\bin\x86_amd64) and the other is 64-Bit application (installed in …\VC\bin\amd64). If SDK installer detects a 64-Bit operating system it copies the 64-Bit version of the VCProjectAMD64Platform.dll to the …\VC\vcpackages directory. However this makes absolutely no sense since the VC200 Express is always (at the time of this writing) a 32-bit application. So you have to manually copy VCProjectAMD64Platform.dll from $($VCDIR)\VC\bin\x86_amd64 to ($VCDIR)\VC\vcpackages. $(VCDIR) means in this case the directory where your VC2008 is installed, e.g. c:\Program Files\Microsoft Visual Studio 9.0. There is no easy way to check whether you have the 32-Bit or the 64-Bit version of the DLL installed. Both have the same name and version. The easiest way to differentiate them is to look at the file size: The 32-Bit has 283KB the 64-Bit version has 370KB. Using VC2008Express on 64-Bit system has the advantage that you can debug your applications in the same environment where you compiled them.
Benutzeravatar
exploid
Establishment
Beiträge: 146
Registriert: 21.08.2005, 18:33

Re: [Compiler] 64bit Projekt auf VC Express 08

Beitrag von exploid »

...
Zuletzt geändert von exploid am 04.11.2010, 14:02, insgesamt 1-mal geändert.
All your base are belong to us! Justice
Benutzeravatar
Aramis
Moderator
Beiträge: 1458
Registriert: 25.02.2009, 19:50
Echter Name: Alexander Gessler
Wohnort: 2016
Kontaktdaten:

Re: [Compiler] 64bit Projekt auf VC Express 08

Beitrag von Aramis »

hm dank dir soweit war ich noch nicht im Text
Ein ganz leichtes Grinsen konnte sich der eine oder andere an dieser Stelle wohl nicht verkneifen :-)
Merke: Texte immer gaaaaanz lesen (quasi vom Anfang bis zum Ende!) bevor man postet.
Benutzeravatar
exploid
Establishment
Beiträge: 146
Registriert: 21.08.2005, 18:33

Re: [Compiler] 64bit Projekt auf VC Express 08

Beitrag von exploid »

...
All your base are belong to us! Justice
Antworten