JCL Help:TJclAppInstances.ProcessIDs

From Project JEDI Wiki
Jump to navigationJump to search


Summary

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


Pascal

 public property ProcessIDs [Index: Integer]: DWORD;


Description

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

TJclAppInstances.InstanceCount TJclAppInstances.AppWnds TJclAppInstances.InstanceIndex


About

Donator

Petr Vones


Contribute to this help topic

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