Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 Smile | :)
Posted 15-Jun-11 22:03pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

There is no way.
 
—SA
  Permalink  
Comments
neha.arora44c at 16-Jun-11 4:09am
   
Are u sure about that? :(
SAKryukov at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

There is no way to run 64x application in 32 bit machine.
  Permalink  

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

  Print Answers RSS
0 Kornfeld Eliyahu Peter 420
1 OriginalGriff 303
2 Yogesh Kumar Tyagi 230
3 Gihan Liyanage 99
4 sankarsan parida 90


Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 16 Jun 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100