Caché ObjectScript Reference
$ZF(-6)
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Executes a DLL function indexed using $ZF(-4).
Synopsis
$ZF(-6,dll_index,func_ID,args)
Parameters
dll_index A user-specified index to a DLL filename in the DLL index tables, from $ZF(-4).
func_ID Optional — The ID value of the function within the DLL as supplied by $ZF(-4). If omitted, call verifies the validity of DLL_index, loads the image, and returns the image location.
args Optional — The argument(s) to pass to the function, if any, specified as a comma-separated list.
Description
$ZF(-6) provides a fast Dynamic Link Library (DLL) function interface using a user-defined index for a DLL filename. You establish this user-defined index in $ZF(-4) by assigning an integer (dll_index) to uniquely associate with a dll_name. You can place this entry in either a process DLL index table, or a system DLL index table.
Both $ZF(-5) and $ZF(-6) can be used to execute a function from a DLL. which has been located by $ZF(-4).
For a detailed description of how to use $ZF(-6), refer to Using $ZF(-6) to Access Libraries by User Index in Using the Caché Callout Gateway.
See Also