From: rogFed28685 on
Hi all,
I am trying to convert my 32 bit application in C++ to a 64 bit
compatible platform on Visual Studio 2005.

I was wondering if you could guide me in this matter. I know that we
have to change variables etc appropritely and compile it in x64 mode.

If I am working on a 32-bit machine how do i test and basically run
the 64bit version on my machine? IS it possible to do so? ( running
the 64 bit converted code on a 32bit machine...)

Im using macros to make it compatible in x64.

Any guidance is really appreciated .... Thank you all for taking the
time to help me!


From: Carl Daniel [VC++ MVP] on
rogFed28685(a)gmail.com wrote:
> Hi all,
> I am trying to convert my 32 bit application in C++ to a 64 bit
> compatible platform on Visual Studio 2005.
>
> I was wondering if you could guide me in this matter. I know that we
> have to change variables etc appropritely and compile it in x64 mode.
>
> If I am working on a 32-bit machine how do i test and basically run
> the 64bit version on my machine? IS it possible to do so? ( running
> the 64 bit converted code on a 32bit machine...)

You don't. You can build for x64 on a 32-bit machine, but you can't run it.
You'll need a 64-bit machine to test your code. Even if you're running
32-bit OS, if your processor is x64 capable, you may be able to create a
64-bit virtual machine on it using VMWare workstation (I'm pretty sure that
you cannot do it using Microsoft Virtual PC).

-cd


From: rogFed28685 on
On Apr 27, 2:48 pm, "Carl Daniel [VC++ MVP]"
<cpdaniel_remove_this_and_nos...(a)mvps.org.nospam> wrote:
> rogFed28...(a)gmail.com wrote:
> > Hi all,
> > I am trying to convert my 32 bit application in C++ to a 64 bit
> > compatible platform on Visual Studio 2005.
>
> > I was wondering if you could guide me in this matter. I know that we
> > have to change variables etc appropritely and compile it in x64 mode.
>
> > If I am working on a 32-bit machine how do i test and basically run
> > the 64bit version on my machine? IS it possible to do so? ( running
> > the 64 bit converted code on a 32bit machine...)
>
> You don't.  You can build for x64 on a 32-bit machine, but you can't run it.
> You'll need a 64-bit machine to test your code.  Even if you're running
> 32-bit OS, if your processor is x64 capable, you may be able to create a
> 64-bit virtual machine on it using VMWare workstation (I'm pretty sure that
> you cannot do it using Microsoft Virtual PC).
>
> -cd

Thanks a lot cd fo the information.....! I really apprciate it.