[Lazarus] Mutlithreaded Dll Callback crashes my Application
Sven Barth
pascaldragon at googlemail.com
Fri Aug 27 09:50:30 CEST 2010
Am 27.08.2010 08:28, schrieb Maik Wojcieszak:
> Hi,
>
> What about the callback from the dll. I think this should at least be
> mentioned as a possible solution.
> Here is the code:
>
The callback solution can only be used if the library in question
provides such an API. And sadly not every library developer sees a need
for this. But it might be mentioned of course for the case a library
provides this.
>
> It works with communication to the GUI baed on events (PostMessage).
> This example crashed before.
> Is there any hint that the FPC team will provide a fix for this in the
> near future ?
>
I hope to report this to the FPC devs this weekend. Then only time will
tell. But as a similiar fix was already done for POSIX systems and we've
also found a workaround for the problem, the solution might(!) be rather
simple/near.
Regards,
Sven
More information about the Lazarus
mailing list