What the different and bebifit of the CreateProcess and ShellExecuteEx API call?
regards,
Printable View
What the different and bebifit of the CreateProcess and ShellExecuteEx API call?
regards,
CreateProcess in general will give you more control over what is being created. ShellExecute is most often used for simply starting programs.
ShellExecute requires that there be a calling hWnd - a parent.
So, it can only be called when there is a window associated with the process that wants to make the call.