Help for this page

Select Code to Download


  1. or download this
    @echo off
    program.exe
    ...
    echo Error
    
    :END
    
  2. or download this
    DWORD status;
    ...
    GetExitCodeProcess(ProcessInformation.hProcess, &status);
    ret = (int)status;