Problem related to running VC++ project on x64 machine when compiled on x32 machine.
-
Hi frnds, when i compile VC++ project on 32 bit machine then it wont work on 64 bit machine...can we compile the same code so that it will work on 32/64 bit machine?? someone told me abt compiler option..but i dont know abt cmd...if u know something, then plz share ur knowledge...Regards
-
Hi frnds, when i compile VC++ project on 32 bit machine then it wont work on 64 bit machine...can we compile the same code so that it will work on 32/64 bit machine?? someone told me abt compiler option..but i dont know abt cmd...if u know something, then plz share ur knowledge...Regards
Did you see How to: Configure Visual C++ Projects to Target 64-Bit Platforms[^]?
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )
-
Hi frnds, when i compile VC++ project on 32 bit machine then it wont work on 64 bit machine...can we compile the same code so that it will work on 32/64 bit machine?? someone told me abt compiler option..but i dont know abt cmd...if u know something, then plz share ur knowledge...Regards
The top thing here is 64 bit EXEs cannot load 32 bit DLLs and vice versa. A 32 bit EXE will run normally on a 32 bit OS and inside the WOW64 shell on a 64 bit OS. It will execute on both nevertheless. A 64 bit EXE will run only on a 64 bit OS. So your statement "when i compile VC++ project on 32 bit machine then it wont work on 64 bit machine" is not true. And if you have installed the 64 bit compilers, you can use Configuration Manager to change the platform from Win32 to x64 to build 64 bit binaries.
«_Superman_»