Skip to content

UnloadLibrary

Unload a previously loaded library.

Declaration

Source position: dynlibh.inc line 71

function UnloadLibrary(Lib: TLibHandle) : Boolean;

Description

UnloadLibrary unloads a previously loaded library (specified by the handle lib). The call returns True if successful, False otherwise.

Errors

On error, False is returned.

See also

Name Description
LoadLibrary Load a dynamic library and return a handle to it.
GetProcedureAddress Get the address of a procedure or symbol in a dynamic library.