JCL Help:TJclAppInstances.ProcessIDs

From Project JEDI Wiki
Jump to navigationJump to search


Summary[edit]

Process IDs of all application instances which are sharing the TJclAppInstances.


Pascal[edit]

 public property ProcessIDs [Index: Integer]: DWORD;


Description[edit]

The ProcessIDs array property contains the process IDs of all application instances which are sharing the TJclAppInstances. In effect it contains the process IDs of all running instances. The array is zero based and the highest valid index is given by TJclAppInstances.InstanceCount property. If an invalid index is specified the property reads 0. Note that it is possible that in between reading TJclAppInstances.InstanceCount and ProcessIDs, or reading ProcessIDs and it, an instance terminates thereby invalidating the process ID. Always check the result before and after using the returned process ID.


See Also[edit]

TJclAppInstances.InstanceCount TJclAppInstances.AppWnds TJclAppInstances.InstanceIndex


About[edit]

Donator[edit]

Petr Vones


Contribute to this help topic[edit]

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page