-
32 and 64
Hello, when trying to pass some of my programs to my friends, they wouldn't work, so I found out that his computer was a 64-Bit, instead of a 32-Bit, like most of the normal computers. How can we make a program that can work both on 32-Bit and 64-Bit Computers??
-
Have you tried recompiling on the 64 bit system?
-
a 64 bit system should have a 32 bit subsystem. It should run 32 bit stuff just fine. There's probably another factor that caused your program not to work.
edit:
wait, are we not talking about windows?
-
Explain : "wouldn't work". What happens ?
-
My computer has a 64-bit processor but I run mostly 32-bit programs and Windows XP which is also 32-bit. Its not the computer's processor that determines whether a program is 32-bit or 64-bit but how the program is compiled. Just compile for 32-bit and the program will run on both 32 and 64 bit machines (although it won't take advantage of the 64-bit assembly instruction set).
-
I agree with AD and FYB. I run Windows XP Pro x64 at work and 90% of my apps are x86. It should work. There is a problem with your app, and it is not that it was compiled on/for x86.
-
It's probably that it's compiled in debug mode, and the target system doesn't have the debug DLLs.
-
oh yes probably that's it, so I compile it on Release??
-
-
What OS did you use to compile and what OS is your friend running?