Description
The External$
function calls a Windows DLL and returns a string. Not available in WinTask Lite.
Syntax
var$ = External$(
Parameters
<DLL_name$>
, string, name of the Windows DLL.
<function_name$>
, string, name of the DLL function.
<param1>
, <param2>
: optional parameters, type integer or unsigned or string.
Return Value
var
, return value, string type.
Remarks
In order to use External$
, the calling convention for the exported function must be _stdcall
and the function must return char*
. External
is more powerful as it does not have those limitations.
Example Code
See External
See a full script example at How to call API Windows functions.