From: Peter on
I'm using Visual Studio 2008 Express under Windows 7 Ultimate (64 bit).

Initially, I was planning to build my app as a 64 bit app. I installed the
Windows SDK and followed various instructions on the web to install this
(incl. copying some registry values from
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0 to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCExpress\9.0). While I managed to
compile everything as 64 bit, I found some runtime problems in one of the
3rd party libs I'm using so decided to revert back to 32 bit for now.

Therefore, I used the Windows SDK Configuration Tool to revert back to
version v6.0A (from v7.0). I rebuilt all the libraries as Win32 targets
(x86). However, running the binaries causes and error. Using the debendency
tool, I can see what the problem is:


Error: Modules with different CPU types were found.


To me this indicates that I'm linking with the wrong libraries, correct?

Is there an easy way to configure VCExpress so that I can build 32 bit and
64 bit binaries simply by switching the Solution Platform from Win32 to x64
or vs.?

Pete