A
Aman JIANG
Guest
if (CreateProcess(NULL, command, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi))
{
WaitForSingleObject(pi.hProcess, INFINITE);
GetExitCodeProcess(pi.hProcess, &exitCode);
}
If you kill the process in task manager, its exit code will be always 1,
Is it documented ?
(This may be a simple question)
Aman
Continue reading...
{
WaitForSingleObject(pi.hProcess, INFINITE);
GetExitCodeProcess(pi.hProcess, &exitCode);
}
If you kill the process in task manager, its exit code will be always 1,
Is it documented ?
(This may be a simple question)
Aman
Continue reading...