Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Problem related to running VC++ project on x64 machine when compiled on x32 machine.

Problem related to running VC++ project on x64 machine when compiled on x32 machine.

Scheduled Pinned Locked Moved C / C++ / MFC
c++comhelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nilesh Hamane
    wrote on last edited by
    #1

    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

    http://nnhamane.googlepages.com/

    H _ 2 Replies Last reply
    0
    • N Nilesh Hamane

      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

      http://nnhamane.googlepages.com/

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      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 )

      1 Reply Last reply
      0
      • N Nilesh Hamane

        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

        http://nnhamane.googlepages.com/

        _ Offline
        _ Offline
        _Superman_
        wrote on last edited by
        #3

        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_»

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups