GetExitCodeProcess
Colored By Color Scripter™1234#includeint main(){ return 100;}a.cpp Colored By Color Scripter™1234567891011121314151617181920212223#include#includeint main(){ STARTUPINFO si = { 0, }; PROCESS_INFORMATION pi; DWORD ret = 0, test; TCHAR path[] = L"a.exe"; si.cb = sizeof(si); puts("#"); CreateProcess(NULL, path, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi); CloseHandle(pi.hThread); //WaitForSingleOb..
2014. 5. 25.