CALLS THE FUNCTION F OF THE DLL IN MEMORY, WITH 2 PARAMETERS
ACTION
The function DLL_CALL2(F,P1,P2) calls a function of the DLL (Dynamic Link Library) loaded to the memory, passing it 2 parameters, and returns an arithmetical result.
Remark: the writing of the called function F is "case sentitive", that is it must be exactly the same as declared in DLL. The capital and small letters must be the same.
SYNTAX:
Result=DLL_CALL2(F,P1,P2)
USE ERROR EXAMPLE
dim r,a
rem DLL loaded to the memory
dll_on "my_dll.dll"
rem call a function of the DLL with 2 parameters
a=10
r=dll_call2("func",a,15)
rem print the result
print v
rem release the memory
dll_off
DLL_CALL2()
DLL_CALL2(F,P1,P2)
SEE ALSO
DLL_ON
DLL_OFF
DLL_CALL0()
DLL_CALL1()
DLL_CALL3()
DLL_CALL4()
DLL_CALL5()
DLL_CALL6()