[Gambas-user] External library and calling functions?
Alexie
ualex73 at ...626...
Mon Nov 11 07:27:32 CET 2013
Hi All,
Gambas is very capable of interfacing with external libraries, as
documented in:
http://gambasdoc.org/help/howto/extern?v3
I got it all working fine, i can call a function inside the library and i
get a value back (if there is a return value in the function).
Only I want something else now ... Within the library there is a
watch/notifier thread running which captures data from the serialport. This
data comes in independantly from the calls done to the library.
Is it possible to define a hook in Gambas (or the library) that the library
can initiate calls and push information to the main Gambas application?
Thus without having to call a certain function to poll the data, i want to
have it pushed from the library.
Regards,
Alex
More information about the User
mailing list