Lib LoadLibrary() Method

(SBM On-Premise only) Loads the DLL.

Function Signature

 bool LoadLibrary()

Parameters

Parameter Type Description

None

Return

Type Description

bool

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

Technical Details

SBM ModScript version: 11.3.

Notes

Typically, failure to load the DLL means the DLL could not be located; therefore, check paths and spelling. 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. This function may also throw a runtime exception if the operating system is unable to load the DLL. Check the event viewer for detailed information.

Related Topics

Lib

Loading the Library in SBM ModScript