c++ - Windows 10: The application was unable to start correctly (0xc000a200) -


i developing qt application on windows 10 . development complete (as now).

after run application in debug mode qt-creator, trying run executable build directory. shows me "application error" dialog following message:

the application unable start correctly (0xc000a200). click ok close application.

what problem , how fix ?!

the error codes given in error message reason. don't mean regular users, we're programmers , intended audience. google has been invented, have absolutely no excuse not taking 5 seconds google error code , see means.

in case, 0xc000a200 error code corresponds status_not_appcontainer. master list of com error codes in windows sdk headers, ntstatus.h. if 1 looks 1 up, 1 sees following description:

this operation valid in context of app container.

now, admittedly, once point, may discover in on head. may not have idea app container is, , no clue how fix it. @ least able ask a question, go long way getting answer.

but let's see if can lucky time anyway. error commonly encountered when application not inside of app container tries load dll marked being part of app container. linker responsible marking dll being or not being part of app container, controlled series of options whatever linker you're using. on microsoft's linker, /appcontainer:yes , /appcontainer:no control this. i'm not sure toolchain qt creator uses, if not microsoft's, should @ least started looking in right place in linker's documentation. make sure dlls used application not being marked part of app container.

the option should off default regular c++ desktop application project, it's possible 1 of dlls started out life part of windows store app. or it's possible switch got thrown accidentally.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -