Skip to content

Dylibfree

Paul Squires edited this page Oct 14, 2026 · 2 revisions

Home › Modularizing › DyLibFree

DyLibFree

Unloads a dynamic link library from memory

Syntax

Declare Sub DyLibFree ( ByVal libhandle As Any Pointer )

Parameters

  • libhandle

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

Examples

See the dynamic loading example on the Shared Libraries page.


Category: Modularizing
Kind: sub


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally