Calling Functions from External DLLs

You can call functions that are defined in external DLLs. By calling external functions from your script, you can reduce the memory footprint of your script and the overall runtime.

To call the external function, you load the DLL in which the function is defined.

You can load a DLL in one of the following ways:

  • Locally (for one script) by using the lr_load_dll function. For task details, see Load a DLL Locally.

  • Globally (for all scripts) by adding statements to the vugen.dat file. For task details, see Load a DLL Globally.