I have been looking for an example or some documentation about this SHELLEXECUTEINFOW, but the msdn site has nothing for it (http://social.msdn.microsoft.com/search/en-US?query=SHELLEXECUTEINFOW),
and when I try to google it the little information I find is not really clear.
So far, I found this code, but aside execIn.lpFile I don't know what the other parameters do.
execIn.cbSize = sizeof(execIn);
execIn.fMask = SEE_MASK_NOCLOSEPROCESS;
execIn.nShow = SW_SHOWNORMAL;
execIn.lpFile = L"C:\\Windows\\Notepad.exe";
Also, is this the only alternative to the CreateProcess?
I'm using visual studio 2012 Pro in win 7 x64 Pro.