Parameters:
|
modulename.functionname – The module and function names from the DLL.
Argument type string – A string in which each character represents the type of argument. The last character represents the type of the return value of the function. Click here for a list of argument types.
Arg1, Arg2 – The function arguments from the DLL.
|
Examples:
|
CallDLLF('mydll.lmath','1L44', Action, A, B) where the C function is: long lmath (char action, long *a, long b) gives the return value of the lmath function in the DLL.
CallDLLF('mydll.add_str', 'AAA', A, B) where the C function is: char *add_str (char *a, char *b) gives the return value of the add_str function in the DLL.
|
Note:
|
A lot of DLLs require the "handle" of a window. This is an identification number for each existing window. It's easy to supply this to your CallDLL, using the Magic xpa WinHWND() function. It takes one parameter, the generation, so calling it for the current task's window will always be WinHWND(0).
|