[Lazarus] TIBConnection + LCLNoGui + FreeBSD

Leonardo M. Ramé l.rame at griensu.com
Thu May 19 13:46:27 CEST 2011


On 2011-05-19 10:26:16 +0200, Michael Schnell wrote:
> 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
> 

No, my real program is a CGI app wich uses TAChart, wich doesn't link
without interfaces unit.

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the Lazarus mailing list