Click here to Skip to main content
12,820,283 members (30,147 online)
Rate this:
Please Sign up or sign in to vote.
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 15-Jun-11 23:03pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

There is no way.

neha.arora44c 16-Jun-11 4:09am
Are u sure about that? :(
SAKryukov 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.
Rate this: bad
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:[^]

MSDN link:[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

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

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 16 Jun 2011
Copyright © CodeProject, 1999-2017
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