Sam
Sam

Reputation: 841

How do I programmitcally launch EXE by disabling compatibility mode?

User launches my EXE runs in compatibility mode which launches another EXE but I don't want the child EXE to inherit the compatibility mode settings. How do I achieve it? Cannot find any resources which makes this work.

I tried CREATE_NEW_PROCESS_GROUP but it does not work.

I'm using ShellExecuteEx to launch the child EXE (it requires administrative privilege)

Upvotes: 0

Views: 136

Answers (1)

montonero
montonero

Reputation: 1741

You could create a task in Windows scheduler with your application and then run it.

Upvotes: 1

Related Questions