Help Center
Help CenterFreeBASIC

DyLibFreesub

Unloads a dynamic link library from memory

Modularizingsubdocumented

Syntax

Declare Sub DyLibFree ( ByVal libhandle As Any Pointer )

Parameters

NameDescription
libhandleThe handle of a library to unload.

Description


DyLibFree is used to release at runtime libraries previously linked to your program with DyLibLoad. The argument is the handle to the library returned by DyLibLoad.

Remarks

Usage


DyLibFree( libhandle )

Platform Differences


Dialect Differences


  • Not available in the -lang qb dialect unless referenced with the alias __Dylibfree.

Differences from QB


  • New to FreeBASIC

See also


Example


See the dynamic loading example on the Shared Libraries page.

Reference

  • Documented in KeyPgDylibfree.html