Solved

VS2008 on 64bit OS Compiling Apps For 32Bit OS

Posted on 2009-04-02
2
442 Views
Last Modified: 2013-11-26
I am chasing more performance from my machine: 3GHZ Intel Quad with 4gb Ram with 3 ATA drives set up as a stripe via external Adaptec raid card.

I use my machine primary for Windows 32 application development, and wish to know if i can "upgrade" to a 64 bit OS to pick up a bit of performance and still produce 32 bit apps?

So is it possible to use VS2008 on 64bit OS (Windows Vista x64 or the upcoming Windows7 x64) to Compile Applications For 32Bit OS (like windows XP x32 and Windows Vista x32)??

Are their any traps or hacks required?

I assume I can then run the app in "debug" but wont be able to run the 32bit executable on the 64 bit machine?
So i will need to use VMware or the windows virtual environment running a 32bit OS to test it?

Please don't just answer "yes", i am looking for a whitepaper or other evidence of people doing this sort of thing.

thanks.

0
Comment
Question by:thetimp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 250 total points
ID: 24056028
I have developed several apps on my Vista 64-bit machine with Visual Studio 2008 and then taken that compiled application over to my 32-bit Win XP machines with no problems at all.  Nothing special had to be done.  The default setting in the Advanced Compiler Settings for the "Target CPU" settings is "AnyCPU".  If you use the "x64" setting then I think the story would be different...

See: http://msdn.microsoft.com/en-us/library/07bysfz2.aspx

Here is a screen shot of the setting in one of my projects:
TargetCpuAdvancedCompilerSetting.jpg
0
 

Author Comment

by:thetimp
ID: 24056574
Brilliant Thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question