[Lazarus] TIBConnection + LCLNoGui + FreeBSD
Leonardo M. Ramé
l.rame at griensu.com
Wed May 18 22:26:07 CEST 2011
On 2011-05-18 21:10:44 +0200, Michael Van Canneyt wrote:
>
>
> On Wed, 18 May 2011, Leonardo M. Ramé wrote:
>
> >Hi, I wrote a simple console application with widgetype NoGui to
> >test a connection to Firebird 2.5 on FreeBsd. When I run in the console,
> >it hangs when the method TIBConnection.Connected := True
> >is called (isc_attach_database). I don't get any error message, it just hangs until I press ctrl+c.
> >
> >The conflict is between "interfaces" unit and FreeBSD on a headless
> >machine (without graphical user interface).
> >
> >Here's the program:
> >
> >program test;
> >
> >{$mode objfpc}{$H+}
> >
> >uses
> > interfaces,
>
> You should not need this unit for this program at all.
> It pulls in the LCL when there is no need for this.
>
> Michael.
This is a small example. I need the LCL because a "real" program needs
TAChart.
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the Lazarus
mailing list