Innerfuse Pascal Script
Back to Libraries

ifpsdll.html

procedure RegisterDllCallLibrary(Sender: TIFPasScript);
Register the DLLClassLibrary functions.

This registers the following functions to the script engine.
function LoadLibrary(Name: string; var Res: ResourcePointer): Boolean;
procedure CloseLibrary(Res: ResourcePointer);
function MapLibraryProc(RealProcName, Declaration: string): Boolean;

Use LoadLibrary to load a dll in memory. Use MapLibraryProc to map the function to the script engine. Use CloseLibrary to release the dll from memory and remove all dll maps.


Copyright (c) 2001 by Carlo Kok
last update: 24-11-01