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.

$ZF(-4)$ZF(-4)Loads Dynamic-Link Libraries (DLLs).$ZF(-4,n,dll_name,func_name)$ZF(-4,n,dll_index,dll_name)Parametersndll_namedll_indexfunc_nameA code for the type of operation to perform: 1=load DLL by name.2=unload DLL by name. 3=look up function in DLL. 4=unload DLL byindex. 5=create an entry in the system DLL index table. 6=delete anentry in the system DLL index table. 7=create an entry in the processDLL index table. 8=delete an entry in the process DLL index table.Optional — The name of the dynamic-link library (DLL). Used withn=1, 2, 3, 5, or 7.Optional — A user-defined index to a dynamic-link library (DLL) in aDLL index table. Must be a unique, positive, non-zero integer. Thenumbers 1024 through 2047 are reserved for system use. Used withn=4, 5, 6, 7, or 8.Optional — The name of the function to look up within the DLL. Usedonly when n=3.Description$ZF(-4) can be used to establish an ID value for a DLL or for a function within a DLL. TheseID values are used by $ZF(-5) to execute a function.$ZF(-4) can be used to establish an index to a DLL index table. These index values are usedby $ZF(-6) to execute a function.Use the combination of $ZF(-4) and $ZF(-5) or $ZF(-4) and $ZF(-6) to load multiple DLLsand call functions from them. However, if you only wish to call functions from one DLL,you can use $ZF(-3) to load that DLL and call its functions.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 539

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

Saved successfully!

Ooh no, something went wrong!