Browse Source

+ PeekExitStatus fix from Vincent Snijders

michael 21 years ago
parent
commit
b3d6d81584
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fcl/win32/process.inc

+ 1 - 1
fcl/win32/process.inc

@@ -20,7 +20,7 @@ end;
 Function TProcess.PeekExitStatus : Boolean;
 Function TProcess.PeekExitStatus : Boolean;
 
 
 begin
 begin
-  GetExitCodeProcess(Handle,FExitCode);
+  GetExitCodeProcess(ProcessHandle,FExitCode);
   Result:=(FExitCode=Still_Active);
   Result:=(FExitCode=Still_Active);
 end;
 end;