fCallLib

Requires FM 1.0 Beta 9.0 (April 2008) or newer

Syntax

double fCallLib(void *fnptr, ...)

Arguments

fnptr
A pointer (obtained with getLibFn) to the DLL function to call.
...
The other parameters required by the DLL function (varies depending on the function).

Return

Returns the return value of the called DLL function, which varies depending on the function called.

Description

Calls a function in a DLL that has previously been loaded with loadLib and getLibFn.

Comment

In most cases, you would use the callLib function. Only use fCallLib if the DLL function you are calling returns a double value.

See Also

callLib, loadLib, getLibFn, freeLib