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. Error : Application was unable o start correctly(0xc000007b).

Error : Application was unable o start correctly(0xc000007b).

Scheduled Pinned Locked Moved C / C++ / MFC
c++visual-studiodebugginghelpquestion
7 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.
  • 0 Offline
    0 Offline
    002comp
    wrote on last edited by
    #1

    Hello Friends I converted MFC application to 64 bit using VS 2013. My exe is working in Release build.But As I run in Debug Build,it pops up with Window error saying "The Application was unable to start correctly(0x0c000007b).Click OK to close the application." After Google, I tried different methods As suggested [Copied mfc100.dll,mfc00u.dll,msvcp100.dll,msvcr100.dll,msvcr100_clr0400.dll] to System32 folder. I installed vs2010,vs2013 redistributable package too bt no Luck. Any Ideas? Thanks & Regards Yogesh Sikri

    J F 2 Replies Last reply
    0
    • 0 002comp

      Hello Friends I converted MFC application to 64 bit using VS 2013. My exe is working in Release build.But As I run in Debug Build,it pops up with Window error saying "The Application was unable to start correctly(0x0c000007b).Click OK to close the application." After Google, I tried different methods As suggested [Copied mfc100.dll,mfc00u.dll,msvcp100.dll,msvcr100.dll,msvcr100_clr0400.dll] to System32 folder. I installed vs2010,vs2013 redistributable package too bt no Luck. Any Ideas? Thanks & Regards Yogesh Sikri

      J Offline
      J Offline
      Jochen Arndt
      wrote on last edited by
      #2

      Debug builds are not intended to be run on other machines than the development system. So try to start your program in the debugger of your VS. If that works, all is OK. Debug builds are linked to special versions of the runtime DLLs which did not exist on machines that have no VS installed. While it would be possible to copy these special DLLs, you should know that you are not allowed to do so.

      0 1 Reply Last reply
      0
      • 0 002comp

        Hello Friends I converted MFC application to 64 bit using VS 2013. My exe is working in Release build.But As I run in Debug Build,it pops up with Window error saying "The Application was unable to start correctly(0x0c000007b).Click OK to close the application." After Google, I tried different methods As suggested [Copied mfc100.dll,mfc00u.dll,msvcp100.dll,msvcr100.dll,msvcr100_clr0400.dll] to System32 folder. I installed vs2010,vs2013 redistributable package too bt no Luck. Any Ideas? Thanks & Regards Yogesh Sikri

        F Offline
        F Offline
        Frankie C
        wrote on last edited by
        #3

        Check if there is any manifest resource in the project and check that this resource also is updated for X64. Fast test: exclude the manifest from project and recompile.

        0 1 Reply Last reply
        0
        • J Jochen Arndt

          Debug builds are not intended to be run on other machines than the development system. So try to start your program in the debugger of your VS. If that works, all is OK. Debug builds are linked to special versions of the runtime DLLs which did not exist on machines that have no VS installed. While it would be possible to copy these special DLLs, you should know that you are not allowed to do so.

          0 Offline
          0 Offline
          002comp
          wrote on last edited by
          #4

          I am running debug build on development machine only.Still no Luck.

          J 1 Reply Last reply
          0
          • F Frankie C

            Check if there is any manifest resource in the project and check that this resource also is updated for X64. Fast test: exclude the manifest from project and recompile.

            0 Offline
            0 Offline
            002comp
            wrote on last edited by
            #5

            no, there is no manifest resource.

            F 1 Reply Last reply
            0
            • 0 002comp

              I am running debug build on development machine only.Still no Luck.

              J Offline
              J Offline
              Jochen Arndt
              wrote on last edited by
              #6

              Check the debug output window to see when the error appears. You may set a breakpoint at your InitInstance method. If the error appears before that it may be some DLL that does not match. Does your application uses some self-build or other non-MS DLLs? If so ensure that these DLLs are present as 64-bit versions. Check also your debug project settings for those DDLs to ensure that there is no entry to an old one. The MS / MFC specific debug DLLs should be already present on your system (they have the letter 'd' at the end of the name).

              1 Reply Last reply
              0
              • 0 002comp

                no, there is no manifest resource.

                F Offline
                F Offline
                Frankie C
                wrote on last edited by
                #7

                This error comes on 64bits OS's when the loader try to link a wrong DLL (typically a 32bits DLL in a 64bits executable). Check again your project and verify that you are correctly linking to 64bits versions of all DLL's. Maybe your program use a DLL built for 32bits. The linking could complete even with wrong import library, then the error is triggered at loading time. The most common case is when a manifest is present in whichever library reporting X86 build, the loader, and this made me mad, testardly try to load 32bits version of commctl32.dll :mad:

                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