G
Guest
I am executing an Expand command in order to expand a CAB file. This is done
by calling CreateProcess with the Expand command and then WaitForSingleObject
and checking the process exit code. My C++ code for checking the exit code
looks something like this:
DWORD dwExit = 0;
if ((GetExitCodeProcess(hProcess, &dwExit)) && (dwExit != 0))
LOG("Expand error %ld", dwExit);
This usually works fine but in several occasions I got in my logs the error:
Expand error -2
Can someone explain what this Expand command exit code -2 means?
TIA,
by calling CreateProcess with the Expand command and then WaitForSingleObject
and checking the process exit code. My C++ code for checking the exit code
looks something like this:
DWORD dwExit = 0;
if ((GetExitCodeProcess(hProcess, &dwExit)) && (dwExit != 0))
LOG("Expand error %ld", dwExit);
This usually works fine but in several occasions I got in my logs the error:
Expand error -2
Can someone explain what this Expand command exit code -2 means?
TIA,