Solved

VS2008 on 64bit OS Compiling Apps For 32Bit OS

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Normally the drop down box control found in the .Net framework tools is able to select just one data and value at a time, which is displayed on the text area.   But what if you want to have multiple values to be selected in the drop down box? As …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now