Visual C++ Developer Center > Visual C++ Forums > Visual C++ Language > The application has failed to start because the application configuration is incorrect. ....
Ask a questionAsk a question
 

AnswerThe application has failed to start because the application configuration is incorrect. ....

  • Saturday, June 16, 2007 5:40 PMWedgeSoft Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I have asked questions appended to a thread of the same topic, and it was recommended I start a new thread.  To recap.

     

    I was told to open my exe "as a resource" to see if my manifest was property embedded. Using VS File/Open and there I find: Icon and RT_MANIFEST.

     

    The code I am trying to distribute contains mixed code and has multiple DLL's.  To simplify the problem, I created a simple C++/CLI HelloWorld Forms app, with a default form and a single label, all IDE generated code.  The remainder of this thread will work with HW.

     

    I checked my Property Pages and find all options are correctly set as the previous thread specified:
       Linker properties include "Generate manifest";
       default file "$(IntDir)\$(TargetFileName).intermediate.manifest".
       "Manifest tool" "Input and Output" contains "Embed Manifest" -- "Yes".

     

    Opening HW.exe, as above, I see the RT_MANIFEST. I added to this solution a Setup project.  Built the setup, copied to a Dell XP, and installed.  The error still exists.  The program will not execute.

     

    I ran Depends on HW.exe (on install machine) It tells me DWMAPI.DLL is missing.

    Error: The Side-by-Side configuration information in "c:\program files\wedgesoft\helloworld\HW.EXE" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
    Warning: At least one delay-load dependency module was not found.
    Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

     

    I am in the process of studying documentation (not just reading through it as I have already done.)  Any help would be appreciated.

Answers

  • Saturday, June 16, 2007 7:40 PMWedgeSoft Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    The operative phrase:  "studying document ion (not just reading through it...)"

    I have gotten the HW program to work.  I assume I will get the more complex

    program to work.

     

    Answer:  Study the examples and work through them.  I left out steps of the setup instructions and am suitably embarrassed.

All Replies

  • Saturday, June 16, 2007 7:40 PMWedgeSoft Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    The operative phrase:  "studying document ion (not just reading through it...)"

    I have gotten the HW program to work.  I assume I will get the more complex

    program to work.

     

    Answer:  Study the examples and work through them.  I left out steps of the setup instructions and am suitably embarrassed.

  • Monday, June 18, 2007 9:38 PMHarry_Tauper Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Can you please explain the way you use to solve your problem?

    Thanks in advance!

    Tauper