JCL Help:JclAppInstances@string

From Project JEDI Wiki
Jump to navigationJump to search


Returns an instance of the TJclAppInstances class, creating one if necessary.


 function JclAppInstances: TJclAppInstances; overload;
function JclAppInstances(const UniqueAppIdGuidStr: string): TJclAppInstances; overload;


Parameters Description
const UniqueAppIdGuidStr: string A user defined string used to customize naming of internal objects to ensure system wide uniqueness. It's recommended you use an actual GUID.

Return Value[edit]

Returns an instance of the TJclAppInstances class which allows you to further control other instances of the application and communicate with them. See the documentation of TJclAppInstances for more detail on using the TJclAppInstances class.


The JclAppInstances function returns an instance of the TJclAppInstances class, creating one if necessary. The parameterless overload creates a TJclAppInstances whose internal name is based on the process name itself while the overload with the UniqueAppIdGuidStr parameter alllows you to customize the internal name to ensure uniqueness.





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