孤独凉面

文章
3
资源
0
加入时间
3年0月28天

获取DOS命令的返回值.

 procedure CheckResult(b: Boolean);begin  if not b then    raise Exception.Create(SysErrorMessage(GetLastError));end;function RunDOS(const Prog, CommandLine, Dir: string; var ExitCode: DWORD): strin...