JCL Help:JclAppInstances@string

From Project JEDI Wiki
Jump to navigationJump to search


Summary

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


Pascal

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


Parameters

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

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.


Description

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.


About

Unit

JclAppInst


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