Browse Source

* TProcess.ThreadHandle should reference the FThreadHandle field, not FProcessHandle

Sven/Sarah Barth 7 months ago
parent
commit
546d623526
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-process/src/processbody.inc

+ 1 - 1
packages/fcl-process/src/processbody.inc

@@ -201,7 +201,7 @@ Type
     Property WindowRect : Trect Read GetWindowRect Write SetWindowRect;
     Property WindowRect : Trect Read GetWindowRect Write SetWindowRect;
     Property Handle : THandle Read FProcessHandle;
     Property Handle : THandle Read FProcessHandle;
     Property ProcessHandle : THandle Read FProcessHandle;
     Property ProcessHandle : THandle Read FProcessHandle;
-    Property ThreadHandle : THandle Read FProcessHandle;
+    Property ThreadHandle : THandle Read FThreadHandle;
     Property ProcessID : Integer Read FProcessID;
     Property ProcessID : Integer Read FProcessID;
     Property ThreadID : Integer Read FThreadID;
     Property ThreadID : Integer Read FThreadID;
     Property Input  : TOutputPipeStream Read GetInputStream;
     Property Input  : TOutputPipeStream Read GetInputStream;