Skip to content

DYLIBFREE


Unloads a dynamic link library from memory

Syntax

` declare sub Dylibfree ( byval libhandle as any pointer )

`

Usage

` Dylibfree( libhandle )

`

Parameters

libhandle

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.

Examples

See the dynamic loading example on the Shared Libraries page.

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

  • Dylibsymbol
  • Dylibload
  • Export

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft