help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Types][Classes] Reference for unit 'process' (#fcl)

TProcess.ThreadID

ID of the main process thread

Declaration

Source position: process.pp line 110

public property TProcess.ThreadID: Integer
  read FThreadID;

Description

ProcessID is the ID of the main process thread. It is the same as the handle of the main proces thread (or the process itself) on Unix systems, but on Windows it is different from the thread Handle.

The ID is only valid after TProcess.Execute has been called. It is not reset after the process stopped.

See also

TProcess.ProcessID

  

ID of the process.

TProcess.Handle

  

Handle of the process

TProcess.ThreadHandle

  

Main process thread handle

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505