External Function Calls

The JADE thin client mode handles remote function call execution.

Use the presentationClientExecution or applicationServerExecution option in the function definition of an external function to specify where the function call is made. By default, external functions are called on the presentation client workstation; that is, presentationClientExecution is assumed.

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

You must define your external function calls for compatibility with the running JADE environment on which the calls are made. For example, calling Windows Application Programming Interfaces (APIs) that pass a Windows handle have different parameter definitions that depend on whether the client is running in 32-bit or 64-bit mode.

To cater for this, you need to establish two different external function call definitions with the required parameter types. Your calling JADE logic must then determine which architecture is being used by the client and which external function call it should therefore make.