DYLIBLOAD


Loads to a Dynamic Link Library (DLL) into memory at runtime

Syntax:
declare function Dylibload ( byref filename as string ) as any Pointer

Usage:
result = Dylibload ( filename )

Parameters:
filename
A string containing the filename of the library to load.

Return Value:
The pointer handle of the library loaded. Zero on error

Description:
Dylibload is used to link at runtime libraries to your program. This function does the link and returns a handle that must be used with Dylibsymbol when calling a function in the library and with Dylibfree when releasing the library.

Examples:
See the dynamic loading example on the Shared Libraries page.

Platform Differences:
Dialect Differences:
Differences from QB:
See also:
Back to Modularizing
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode