Help Center›FreeBASIC
DyLibFreesub
Unloads a dynamic link library from memory
Syntax
Declare Sub DyLibFree ( ByVal libhandle As Any Pointer )
Parameters
| Name | Description | |
|---|---|---|
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.Remarks
Usage
DyLibFree( libhandle )
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
Example
See the dynamic loading example on the Shared Libraries page.
Reference
- Documented in KeyPgDylibfree.html