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 message running exe

Error message running exe

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionworkspace
10 Posts 6 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.
  • C Offline
    C Offline
    Cyclone_S
    wrote on last edited by
    #1

    Hi I get this error message when trying to run my program on another computer running Windows XP. I also get a different error when running on another persons computer with Windows 7.

    This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

    Any ideas on what the issue is? Thanks.

    L A H N M 5 Replies Last reply
    0
    • C Cyclone_S

      Hi I get this error message when trying to run my program on another computer running Windows XP. I also get a different error when running on another persons computer with Windows 7.

      This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

      Any ideas on what the issue is? Thanks.

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Cyclone_S wrote:

      Any ideas...?

      yes, over 82,000 ideas[^]

      Cyclone_S wrote:

      I also get a different error when...

      different how? :)

      Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

      Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

      C 1 Reply Last reply
      0
      • L Luc Pattyn

        Cyclone_S wrote:

        Any ideas...?

        yes, over 82,000 ideas[^]

        Cyclone_S wrote:

        I also get a different error when...

        different how? :)

        Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

        Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

        C Offline
        C Offline
        Cyclone_S
        wrote on last edited by
        #3

        Yes I know i'm searching google but still confused what I need to do. I don't have access to the other comp to provide the error message. Came accross this. http://msdn.microsoft.com/en-us/library/ms235291(v=VS.90).aspx[^] Edit. Looks like I need to install this. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en[^]

        modified on Monday, March 28, 2011 8:32 PM

        L 1 Reply Last reply
        0
        • C Cyclone_S

          Yes I know i'm searching google but still confused what I need to do. I don't have access to the other comp to provide the error message. Came accross this. http://msdn.microsoft.com/en-us/library/ms235291(v=VS.90).aspx[^] Edit. Looks like I need to install this. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en[^]

          modified on Monday, March 28, 2011 8:32 PM

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          Cyclone_S wrote:

          confused what I need to do

          collect more information, formulate an hypothesis, verify it, and when it seems correct, fix it. IMO the two most likely categories of issues causing behavior somewhat like what you get, would be: 1. the system failing to locate or load a required piece of code, say a missing DLL. But then in my experience one gets a dialog box with a different message. 2. anything that could go wrong at the application level PLUS the app itself lacking proper error catching and reporting. e.g. if one has try-catch constructs with an empty catch, then all clues get swallowed and all that is left is guessing at what the problem is. :)

          Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

          Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

          1 Reply Last reply
          0
          • C Cyclone_S

            Hi I get this error message when trying to run my program on another computer running Windows XP. I also get a different error when running on another persons computer with Windows 7.

            This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

            Any ideas on what the issue is? Thanks.

            A Offline
            A Offline
            Albert Holguin
            wrote on last edited by
            #5

            I've seen this with missing DLLs or other components, such as configuration files (as Luc Pattyn stated), or there's a missing registry entry (or the registry entry doesn't contain the information expected).

            1 Reply Last reply
            0
            • C Cyclone_S

              Hi I get this error message when trying to run my program on another computer running Windows XP. I also get a different error when running on another persons computer with Windows 7.

              This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

              Any ideas on what the issue is? Thanks.

              H Offline
              H Offline
              Hans Dietrich
              wrote on last edited by
              #6

              To check for missing DLL as Albert mentioned, you can use this: http://www.dependencywalker.com/[^]

              Best wishes, Hans


              [Hans Dietrich Software]

              A 1 Reply Last reply
              0
              • H Hans Dietrich

                To check for missing DLL as Albert mentioned, you can use this: http://www.dependencywalker.com/[^]

                Best wishes, Hans


                [Hans Dietrich Software]

                A Offline
                A Offline
                Albert Holguin
                wrote on last edited by
                #7

                i've used this program a few times to save my butt when i forgot to include a dependency in an installation package... great suggestion!

                1 Reply Last reply
                0
                • C Cyclone_S

                  Hi I get this error message when trying to run my program on another computer running Windows XP. I also get a different error when running on another persons computer with Windows 7.

                  This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

                  Any ideas on what the issue is? Thanks.

                  N Offline
                  N Offline
                  Nitheesh George
                  wrote on last edited by
                  #8

                  Hi, This issue is related to the supporting dll's, CRT, MFC and and any other thirdparty and make sure that u also include the manifest of these supporting dll's. Hope this helps. Nitheesh George http://www.simpletools.co.in

                  C 1 Reply Last reply
                  0
                  • N Nitheesh George

                    Hi, This issue is related to the supporting dll's, CRT, MFC and and any other thirdparty and make sure that u also include the manifest of these supporting dll's. Hope this helps. Nitheesh George http://www.simpletools.co.in

                    C Offline
                    C Offline
                    Cyclone_S
                    wrote on last edited by
                    #9

                    Got it working now. I think the problem was I was running a Debug version not a Release version. Thanks for the suggestions.

                    1 Reply Last reply
                    0
                    • C Cyclone_S

                      Hi I get this error message when trying to run my program on another computer running Windows XP. I also get a different error when running on another persons computer with Windows 7.

                      This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

                      Any ideas on what the issue is? Thanks.

                      M Offline
                      M Offline
                      malaugh
                      wrote on last edited by
                      #10

                      Your need to install the Microsoft run-time libraries on the new machine. The libary pack you need depends on your version of Visual Studio, for example, VS2005 needs the following to be installed. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displaylang=en Alternatively, you can compile the executable to use static libraries. Open Project->Properties, and select "use MFC in a static library" under General->Use of MFC, then go to Linker->General, go to "Delay Loaded DLLS" and uncheck the "inherit from parent" checkbox.

                      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