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`.
Example
See the dynamic loading example on the Shared Libraries page.
Platform Differences

- DOS: see specific Shared Libraries - DOS page

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`