What is up.
RSS icon Email icon Home icon
  • This application has failed to start because the application configuration is incorrect

    Posted on June 24th, 2008 Alan 5 comments

    "This application has failed to start because the application configuration is incorrect"

    Was getting this message when testing an application recently converted to VS 2008 from VS 6.0.  Depends showed that MSVCRT80.DLL was a missing dependency.

    Here are a few threads on the subject:

    On  MSDN Forums

    Nikola's Weblog

    The  programs was pretty small so I felt the easiest workaround was to link statically to the C runtime library.  I did this by making sure I selected Multi-threaded (/MT) rather than Multi-threaded DLL (/MD) in the C/C++…Code Generation…Runtime Library option.

     

    5 responses to “This application has failed to start because the application configuration is incorrect”

    1. IT WORKS, HOWS IT THAT VERY LITTLE PPL KNOW THIS SINGLE FIX???!!

      THANKS MAN YOU SAVED MY LIFE!!!!!!!!!!

    2. Hi,
      I tried to do like you suggested and got the message:
      fatal error C1189: #error : Please use the /MD switch for _AFXDLL builds
      Do you have any idea what to do in this case?
      Thanks for advance.
      Aleksey

    3. Hi,
      I tried to do like you suggested and got the message:
      fatal error C1189: #error : Please use the /MD switch for _AFXDLL builds
      Do you have any idea what to do in this case?
      Thanks for advance.
      Aleksey

    4. Thanks for the tip, Alan. I had to wade through quite a bit of obfuscation before I found your enlightening fix.

    5. It also worked for me! After reading the VERY LONG MSDN forum threat,
      I am more than surprised about that easy solution.

      Thanks a lot!!!

    Leave a reply

    You must be logged in to post a comment.