Innerfuse Pascal Script
Back to Libraries
ifpsdll2.pas
Functions:
function DllExternalProc(id: Pointer; Sender: TIFPasScript; const Param, FuncName: string; Func: PProcedure; const CallingConvention: string): Boolean;
Assign this function to the OnExternal handler of a TIFPasScript instance.
procedure RegisterDll2library(Sender: TIfPasScript);
Use this function to register the PChar type to the script engine.
Using the ifpsdll2 library:
Assign DllExternalProc to the OnExternal handler of a TIFPasScript instance. call RegisterDll2Library. Then in your script do something like this:
`procedure MyCall; external 'mydll.dll' name 'MyCall'; stdcall;`
This load the MyCall function from mydll.dll.
Copyright (c) 2001 by Carlo Kok
last update: 24-11-01