dll.load

Syntax dll.load (dllPath)

Params dllPath is the path on disk to a stay-resident DLL to load.

Action Loads the DLL.

Returns A number. If the DLL cannot be loaded, a scriptError is generated.

Examples dll.load (Frontier.pathString + "DLLs" + file.getPathChar () + "regex.dll")

   » 124

Notes If the DLL isn't found, a script error is generated.

Some DLLs are stay-resident DLLs: they get loaded and stay loaded. Others get loaded when they're called and unloaded after. It's up to the DLL developer whether or not their DLL should be stay-resident.

See Also dll.unload

dll.isLoaded

Discuss