Products Downloads


French version


 

 

This function is used to check that there is a process with the specified name in the current session.

In Adelia Cloud, a Cloud application thread executing the specified main program is searched for.

 

In Windows, the name must be provided in "PROCESSNAME.EXE" format.

In Adelia Cloud, this syntax is accepted (a Thread executing "PROCESSNAMEmain" is searched for in this case). The full name of the class may be specified (e.g. "com.hardis.adelia.cloud.common.dialogs.NODEPMmain").

 

Context

  • Windows client,
  • Windows server,
  • Adelia Cloud client.

 

Parameters

ALPHA(n)

Pgm

Name of the process searched.

BOOL

ReturnCode

Return code for the operation:

*TRUE if the requested process exists.

 

Example

ALPHA(12) Pgm

BOOL        Running

 

Pgm = 'TEST.EXE'

 

CALL_DLL 'VATOOLBX.DLL' 'VaToolBxIsProcessAlive' Pgm Running

 

IF NOT Running

   * starts the process

   EXECUTE_CMD Pgm

 

List of the VaToolBx functions by topic

↑ Top of page


  • Aucune étiquette