[fpc-pascal] Re: Library callback : how do I do that?
el.es.cr at gmail.com
Thu Aug 8 13:42:10 CEST 2013
On 08/08/13 12:31, Michael Schnell wrote:
> On 08/08/2013 01:15 PM, Lukasz Sokol wrote:
>> but I would then need to make the wrapper object aware of the
>> Application or its forms then?
> This is provided by "Runtime Packages" with Delphi.
> Lazarus does not support Runtime packages (yet) so you are quite on
> your own to implement something similar.
> Hopefully the Wiki might provide some hints.
i see then, having a chain
(callback procedure) -> MyObject.CallbackNotify -> (processing callback data) ->
call a function within a form unit that does Application.QueueAsyncCall()
is really my best bet then?
More information about the fpc-pascal