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

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

"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 thoughts on “This application has failed to start because the application configuration is incorrect

  1. 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

  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

Leave a Reply