Search code examples
c++windowscompatibility-mode

Is it possible to set an application's windows compatibility mode at run-time?


We are using a 3rd party library that sometimes does not work correctly on Win7. WE know how to configure this at installation time, but we'd also like to consider setting it at run time. Is this possible, or does that context have to be set prior to launch? (I think there is a slim to none chance, but figured I would ask anyway)

(C++ application - not that it really matters)


Solution

  • The compatibility settings can't be changed once the application is running.

    However, what you could do is have a launcher application that makes sure the compatibility settings are correct and then launches your application. Of course, you need to make sure the launcher application doesn't have compatibility problems.