Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
Hi,
I have a program for parallel programming that I wrote on a 64bit machine. Now I have to implement it on a 32 bit machine. I wrote the program in visual studio 2005 and the target machine has both visual studio 2005 and 2008. However, when I try to build or debug the program on the target machine, I do not get the debug option on the menu and on build I get the result
"0 succeeded, 0 failed, 1 skipped"
How do I make the program execute on the lower machine?
please help. Its urgent.
Thanks :)
Posted

There is no way.

—SA
 
Share this answer
 
Comments
neha.arora44c 16-Jun-11 4:09am    
Are u sure about that? :(
Sergey Alexandrovich Kryukov 16-Jun-11 16:27pm    
Well, sure it terms of practical ways. Theoretically it's possible to right a simulator. Probably a virtual 64-bit machine would be possible. But that's not it.
You see, all native applications work right in instruction set. If there is no some 64-bit instruction, what do you do? Emulate it. But this is not like running an application in the hardware. You do not mean re-compile instructions on the fly (modify code to 32-bit bit commands).

Just running 64-bit code as is purely impossible, I'm 100% sure here. The CPU reads unknown instruction. What happens? Calling some emulator on exception on per-command basis? That's not it. Think about it. Impossible is impossible.
--SA
You can target the build for a specific platform under the build options. Is it you were trying to debug the 64 bit builld on a 32 bit machine?

This link may provide some help:
http://discuss.joelonsoftware.com/default.asp?joel.3.602634.7[^]

MSDN link:
http://msdn.microsoft.com/en-us/library/ms171526(v=VS.80).aspx[^]
 
Share this answer
 
There is no way to run 64x application in 32 bit machine.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900