I need a smth like ShellExecute... I will need the handle of the created process
Have a look at ShellExecuteEx(). https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx. This uses a SHELLEXECUTEINFO structure which has as one of its members a handle to the newly created process.