Lib FreeLibrary() Method

(SBM On-Premise only) Unloads a previously loaded DLL.

Function Signature

 bool FreeLibrary()

Parameters

Parameter Type Description

None

Return

Type Description

bool

Returns true if the DLL was successfully unloaded; returns false otherwise.

Technical Details

SBM ModScript version: 11.3.

Notes

If false is returned, you may check the event viewer for more detailed information. This function throws a runtime exception if SetLibraryName() has not previously been called for this object or if any arguments were passed to this function.

Related Topics

Lib

Unloading the DLL

Keeping a Library Loaded Across Script Executions