DLL_CALL0()

DLL_CALL0(F)

CALLS THE FUNCTION F OF THE DLL IN MEMORY, WITHOUT ANY PARAMETER

  • Type: Function
  • Parameter: 1
  • Group: DLL

ACTION

The function DLL_CALL0(F) calls a function of the DLL (Dynamic Link Library) loaded to the memory, without any parameter, 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_CALL0(F)

  • F = string, function name.

USE

  • The function DLL_CALL0() is used to call a function of a DLL loaded in memory.

ERROR

  • If file F does not exist in DLL.
  • If the writing of the function F (capital and small letters) is not the same as declared in DLL.
  • If F is not a correct name of function.

EXAMPLE

dim r

rem DLL loaded to the memory

dll_on "my_dll.dll"

rem call a function of the DLL without any parameter

r=dll_call0("func")

rem print the result

print v

rem release the memory

dll_off

SEE ALSO

DLL_ON

DLL_OFF

DLL_CALL1()

DLL_CALL2()

DLL_CALL3()

DLL_CALL4()

DLL_CALL5()

DLL_CALL6()