Calling External Functions from JADE Thin Clients

Use the presentationClientExecution or applicationServerExecution option in the function definition of an external function (that is, not in the call expression) to specify where the function call is made, as shown in the following example.

getProfileString(sectionName : String;
                 keyName     : String;
                 default     : String;
                 value       : String[100] output;
                 length      : Integer): Integer is GetProfileStringW in
                                      kernel32 applicationServerExecution;

External functions are called on the JADE thin client workstation by default; that is, presentationClientExecution is assumed.

The presentationClientExecution qualifier has no effect if JADE is not currently running in JADE thin client mode.