Solved

VS2008 on 64bit OS Compiling Apps For 32Bit OS

Posted on 2009-04-02
2
436 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
2 Comments
 
LVL 85

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 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