3
Vote

Replace CreateProcess with ShellExecuteEx

description

One of the issues with CreateProcess is that it does *not* handle UAC properly; if you try to run an exe that has requiresAdministrator level in its manifest, CreateProcess will just fail.

Using ShellExecuteEx instead provides the exact same functionality, and it *does* handle UAC properly, triggering the UAC dialog box if necessary. I don't see why the editor would need to be changed in that case. It's just a case of API obsolescence, MS recommends using ShellExecuteEx instead of CreateProcess for vista & up.

No files are attached

comments