Skip to content

UnloadLibrary

Unload a previously loaded library

Declaration

Source position: dynlibs.pas line 37

  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
GetProcedureAddress Get the address of a procedure or symbol in a dynamic library.
LoadLibrary Load a dynamic library and return a handle to it.