Solved

VS2008 on 64bit OS Compiling Apps For 32Bit OS

Posted on 2009-04-02
2
439 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
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…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 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