Browse Source

* also assign threadid. mantis 38645

git-svn-id: trunk@49021 -
marco 4 years ago
parent
commit
aa5a59fc00
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-process/src/win/process.inc

+ 1 - 0
packages/fcl-process/src/win/process.inc

@@ -285,6 +285,7 @@ Var
         Raise EProcess.CreateFmt(SErrCannotExecute,[FCommandLine,GetLastError]);
       FProcessHandle:=FProcessInformation.hProcess;
       FThreadHandle:=FProcessInformation.hThread;
+      FThreadId:=FProcessInformation.dwThreadId;  
       FProcessID:=FProcessINformation.dwProcessID;
     Finally
       if POUsePipes in Options then