This application failed to start because the application configuration is incorrect

I created an application in C ++ using VS.Net. In my application there is only a windows.h dependency, all other header files are standard. But the problem is that when I release my application and run on a different system, it shows an error dialog box,

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

Please help me deal with this issue.

+4
source share
1 answer

Read this (about WinSxS): http://msdn.microsoft.com/en-us/library/aa376307(VS.85).aspx

At some point, they invented WinSxS technology and its associated “manifestos”. This forces your application to require DLLs with more stringent version checking, which can be quite annoying.

You can hack it by disabling the built-in manifest or statically link more libraries.

+4
source

Source: https://habr.com/ru/post/1309745/


All Articles