[Lazarus] TIBConnection + LCLNoGui + FreeBSD
Michael Schnell
mschnell at lumino.de
Thu May 19 10:26:16 CEST 2011
On 05/18/2011 10:26 PM, Leonardo M. Ramé wrote:
> This is a small example. I need the LCL because a "real" program needs
"interfaces" allows for instantiating the "Application" Object (I
suppose that is what Michael meant by"It pulls in the LCL"). There are
many functions in the LCL that are usable without TApplication and
"Interfaces".
What you can't do without "interfaces" is (1) use a local GUI (such as
GTK or QT) and (2) do the usual "event driven programming" (e.g. use
TTimer and anything based on "normal" inter-Thread notification).
So without "interfaces" your project is not an "Application" but a
"Program" (AKA "command line tool") that is started, does its work, and
stops; without waiting for anything to happen while it runs.
I suppose by "real Program" you mean "Application" (according to
Lazarus-speak), so you can't use noGUI.
-Michael
More information about the Lazarus
mailing list