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. Application not Launching when converting from 32bit to 64bit in VS

Application not Launching when converting from 32bit to 64bit in VS

Scheduled Pinned Locked Moved C / C++ / MFC
helpvisual-studiocsharpdebugging
3 Posts 3 Posters 11 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.
  • M Offline
    M Offline
    Member_16142254
    wrote on last edited by
    #1

    Recently I have converted the application from 32bit to 64bit in VS 2019,all sources are saying the application is of 64bit I'm unable to launch the application, and I am not able to debug the application because the application need to be attach to process to debug, when searched in the event viewer, I am encountering BEX64 error , and have made sure that all the dependent DLL's are of 64bit, Can anyone please help me to resolve this issue. I am able to open the application from visual Studio 2019, but not able to launch from exe.

    L J 2 Replies Last reply
    0
    • M Member_16142254

      Recently I have converted the application from 32bit to 64bit in VS 2019,all sources are saying the application is of 64bit I'm unable to launch the application, and I am not able to debug the application because the application need to be attach to process to debug, when searched in the event viewer, I am encountering BEX64 error , and have made sure that all the dependent DLL's are of 64bit, Can anyone please help me to resolve this issue. I am able to open the application from visual Studio 2019, but not able to launch from exe.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You need to investigate further and provide more information. It is impossible to guess what may be wrong.

      1 Reply Last reply
      0
      • M Member_16142254

        Recently I have converted the application from 32bit to 64bit in VS 2019,all sources are saying the application is of 64bit I'm unable to launch the application, and I am not able to debug the application because the application need to be attach to process to debug, when searched in the event viewer, I am encountering BEX64 error , and have made sure that all the dependent DLL's are of 64bit, Can anyone please help me to resolve this issue. I am able to open the application from visual Studio 2019, but not able to launch from exe.

        J Offline
        J Offline
        jschell
        wrote on last edited by
        #3

        Member 16142254 wrote:

        all sources are saying the application is of 64bit

        That is ambiguous. Your code is probably linking to some other dlls. I would first start with checking those.

        Member 16142254 wrote:

        launch the application

        You will have a main method. You can start by commenting ALL of the code in that module out except for the main() method call. So everything in the main() method is commented out also. If that runs then you can start uncommenting. If it doesn't run then it indicates that the build of that module itself is a problem.

        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