Solved

VS2008 on 64bit OS Compiling Apps For 32Bit OS

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

Interactive Way of Training for the AWS CSA Exam

An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam.  Built for students by a student to help them understand the concepts that they are being taught.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

622 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