Description
The External function calls an external DLL. Not available in WinTask Lite.
Syntax
var = External(<DLL_name$>, <function_name$>[, <param1>[, <param2>, ...]])
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.
If <paramx> is an output string, its maximum length is 1023 characters. If you need an output string longer, use External$.
Return Value
var, return value, either a 32-bit integer or an address type UNSIGNED.
See Also
- How to call API Windows functions
External$- In
WinTask\Advanced_script_examples\Windows_API_Functions_Callfolder, some scripts usingExternalare listed. - A WinTask customer has written many scripts using Windows API functions, you can view them at http://www.sqablogs.com/jstrazzere/WinTask
