Help for this page

Select Code to Download


  1. or download this
    DWORD status;
    ...
    GetExitCodeProcess(ProcessInformation.hProcess, &status);
    ret = (int)status;
    
  2. or download this
    if (status < 0) {
        if (ckWARN(WARN_EXEC))
    ...
            status *= 256;            <---- coercion into 8 bits
        PL_statusvalue = status;
    }