[Lazarus] timer in a console application
Michael Schnell
mschnell at lumino.de
Fri Aug 10 11:48:08 CEST 2012
TTimer and things like Application.QueuAsyncCall, TThread.Synchronize
need an Event Queue to do their work.
Currently there is no "Widget Type" (aka interface) that does not need a
GUI but provides an Event Queue.
So you can't create a Console Application (or a Daemon or a Web Service
or similar stuff) a that uses TTimer or event driver inter-thread
communication. Such applications do a single run-through pass and are
not able to react on multiple condition at the same time.
-Michael
More information about the Lazarus
mailing list