11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

System and Other FunctionsDescriptionTo execute a function located in a DLL loaded using $ZF(-4), use the following syntax:return=$ZF(-5,dll_id,func_id,args)See Also• $ZF(-4) function• Calling Out of <strong>Caché</strong> in Using <strong>Caché</strong> <strong>ObjectScript</strong>$ZF(-6)Executes a DDL function indexed using $ZF(-4).$ZF(-6,dll_index,func_ID,args)Parametersdll_indexfunc_IDargsA user-specified index to a DLL file name in the DLL index tables, from$ZF(-4).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 theimage, and returns the image location.Optional — The argument(s) to pass to the function, if any, specifiedas a comma-separated list.Description$ZF(-6) provides a fast Dynamic Link Library (DLL) function interface using a user-definedindex for a DLL file name. You establish this user-defined index in $ZF(-4) by assigning aninteger (dll_index) to uniquely associate with a dll_name. You can place this entry in eithera 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 beenlocated by $ZF(-4).For a detailed description of how to use $ZF(-6), refer to Calling Out of <strong>Caché</strong> in Using<strong>Caché</strong> <strong>ObjectScript</strong>.542 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!