Hello,
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.
SHELLEXECUTEINFOW execIn;
ZeroMemory(&execIn, sizeof(execIn));
execIn.cbSize = sizeof(execIn);
execIn.fMask = SEE_MASK_NOCLOSEPROCESS;
execIn.nShow = SW_SHOWNORMAL;
execIn.lpFile = L"C:\\Windows\\Notepad.exe";
ShellExecuteEx(&execIn);
Also, is this the only alternative to the CreateProcess?
I'm using visual studio 2012 Pro in win 7 x64 Pro.
Thank you.
Regards.