[Lazarus] Windows.PostMessage vs Application.QueueAsyncCall

Michael Schnell mschnell at lumino.de
Mon Mar 17 15:11:57 CET 2014


On 03/17/2014 01:31 PM, Marcos Douglas wrote:
> Yes, but the QueueAsyncCall needs to know what procedure to call for a 
> especific object (instance)

I don't understand.

The definition of the function (I use) is

     procedure TApplication.QueueAsyncCall(const AMethod: TDataEvent; 
Data: PtrInt);

                                      with

   TDataEvent = procedure (Data: PtrInt) of object;


I don't see an "instance" here.

-Michael




More information about the Lazarus mailing list