Previous Next

Call ShellExecute Instead of CreateProcess

[This is preliminary documentation and subject to change.]

Requirement   (Designed for Microsoft® Windows® Logo)

Your application must use the Win32 ShellExecute function instead of the CreateProcess function when starting another application.

Remarks

Using system policy, administrators can define which applications cannot be started from the Windows Explorer interface. If applications call ShellExecute, the shell has an opportunity to check such system policy settings before the new application is started.