DyLibFree
 
Unloads a dynamic link library from memory

Syntax

Declare Sub DyLibFree ( ByVal library As Any Pointer )

Usage

DyLibFree( library )

Parameters

library
The 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.

Example

See the dynamic loading example on the Shared Libraries page.

Platform Differences

  • Dynamic link libraries are not available in DOS, as the OS doesn't support them.

Dialect Differences

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

Differences from QB

  • New to FreeBASIC

See also