[Lazarus] How to PostMessage to object?

Michael Schnell mschnell at lumino.de
Thu Jun 9 12:34:10 CEST 2011


On 06/09/2011 12:10 PM, Henry Vermaak wrote:
>
> This will not even solve the problem, since the ProcessAsyncCallQueue 
> and RemoveAsyncCalls also need to be protected. 
This is what I seem to have found, too.
But it can't be done in user code which never calls RemoveAsyncCalls(). 
If it is really necessary (analyzing the code on that behalf does not 
seem trivial) it needs to be done within the LCL.

> Just use PostMessage for thread communication.

IMHO instead of using the old Windowish stuff,  better the problems in 
the LCL should be resolved.

-Michael




More information about the Lazarus mailing list