user4182981
user4182981

Reputation:

Does ShellExecute() and ShellExecuteEx() calls CreateProcess() internally?

I've read in a couple of places that ShellExecute() and ShellExecuteEx() calls CreateProcess() internally, is this true? is it documented somewhere in MSDN?

Upvotes: 2

Views: 901

Answers (1)

Jonathan Potter
Jonathan Potter

Reputation: 37202

Yes, ShellExecuteEx calls CreateProcess internally, as you can easily show by setting a breakpoint on CreateProcess and then making a call to ShellExecuteEx:

call stack from ShellExecute to CreateProce

Upvotes: 4

Related Questions