[Lazarus] nonlcl basic issue: is codetools LCL dependent?
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Jun 26 15:02:08 CEST 2014
On Thu, 26 Jun 2014 14:41:21 +0200
Sven Barth <pascaldragon at googlemail.com> wrote:
>[...]
> {$IF FPC_FULLVERSION < 20701}
> {$MESSAGE fatal 'You need at least FPC 2.7.1'}
{$ERROR 'You need at least FPC 2.7.1'}
But the Lazarus code must work with 2.6.4, so there must not be an
error.
> {$ENDIF}
>[...]
> > - TThread.Queue,:
> > I use this to implement Application.QueuAsyncCall.
> > I can try to do the (supposedly minimal) code that in TThread.Queue
> forwards the procedure of object to the Event queue, native in the
> implementation of my TApplication class.
>
> A little sidenote: the current implementation immediately executes events
> queued by the main thread. This is Delphi compatible.
Then this cannot be used to implement the LCL
TApplication.QueueAsyncCall as it must execute *after* the current
event/function.
Mattias
More information about the Lazarus
mailing list