views:

36

answers:

1

I don't have 64bit windows, and i have to develop app for 64bit windows.

I have downloaded and installed virtual pc

i develop on windows xp 32bit, vista 32bit and win7 32bit

How to i develop a 32bit compatable application?

[EDIT] Am developing using visual studio 6 & 2005, Borland c++ 7. And i havent seen 64bit versions of this softwares

+1  A: 

In order to run a 64-bit application, you will need a 64-bit OS and 64-bit hardware. You can't run a 64-bit guest on a host with 32-bit hardware.

You can build a 64-bit application with Visual Studio 2005. I do not know about other IDE's you mention. If I remember correctly, you have to choose to install the 64-bit tools when installing VS2005. I seem to recall that they do not get installed by default (but memory may be failing me). Once the 64-bit application is built, though, you cannot run it on the 32-bit machine.

Mark Wilkins
what do you mean 64bit hardware? I cannot install 64bit windows on my compaq Evo D510 SFF
Smith
@Smith, the underlying chipset must provide 64-bit support. A quick google search seems to indicate that the PC you mention has the Intel 845G chipset, which was released in 2002. It seems unlikely that it supports 64-bit.
Mark Wilkins
@Mark Wilkins, "You can't run a 64-bit guest on a 32-bit host.": It is important here to distinguish between hardware support an OS bitness. You can run a 64-bit VM on top of a 32-bit OS if you have a 64-bit CPU, which almost all current CPU's are (see http://www.vmware.com/products/server/faqs.html).
0xA3
@0xA3, Good point. I will add "hardware" to clarify.
Mark Wilkins