[fpc-devel] New global CustomApplication variable

Michael Schnell mschnell at lumino.de
Fri Oct 9 12:33:51 CEST 2009


IIRC, the TApplication instance needs to take care of the message queue
that schedules events for TTimer the Delphi "procedure ... message"
construct  etc.

With GUI application the message queue is managed by means of the
appropriate GUI Framework, such as the Windows or GTK API-

MSE provides creating a "nogui" application that handles the message
queue without complex external stuff but in Linux uses "sem_wait()" to
wait in case of an empty message queue and signals for posing events. (I
don't know how they do this in Windows).

I feel that this would be a very appropriate extension to the native FPC
RTL, so that IDE frameworks can standardize  on this.

-Michael



More information about the fpc-devel mailing list