[Gambas-user] Calling external function by pointer

Benoît Minisini gambas at ...1...
Wed May 7 19:32:46 CEST 2014


Le 07/05/2014 18:27, Bruno Félix Rezende Ribeiro a écrit :
> Hello all!
>
> Suppose we have an external function pointer inside the Gambas variable
> 'pExternFunction' and we want to call the correspondent function
> passing the arguments, known at compilation time, 'Arg1' to 'ArgN'.
> How can we accomplish this in Gambas?
>
> Thanks in advance.
>

I'm afraid this is not possible, because the FFI library used by Gambas 
must know the signature of the function before calling it.

-- 
Benoît Minisini




More information about the User mailing list