FreeLibrary Function [Runtime]/text/sbasic/shared/03090405.xhpSun Microsystems, Inc.converted from old format - fpeFreeLibrary functionFreeLibrary Function [Runtime]Releases DLLs that were loaded by a Declare statement. A released DLL is automatically reloaded if one of its functions is called. See also: DeclareSyntax:FreeLibrary (LibName As String)Parameters:LibName: String expression that specifies the name of the DLL.FreeLibrary can only release DLLs that are loaded during Basic runtime.Example:Declare Sub MyMessageBeep Lib "user32.dll" Alias "MessageBeep" ( long )Sub ExampleDeclareDim lValue As LonglValue = 5000MyMessageBeep( lValue )FreeLibrary("user32.dll" )End Sub