Programming, System Programming, Win32, C.
TEXT("xxxxx.exe"); if (!CreateProcess(NULL, cmdLine, NULL, NULL, FALSE, CREATE_NEW_CONSOLE, NULL, NULL, &si, &pi)) ExitSys(TEXT("CreateProcess"), EXIT_FAILURE); _tprintf(_T("Press ENTER to exit")); getchar(); return 0; } void ExitSys(LPCTSTR lpszMsg, int status) { DWORD dwLastError =