[Lazarus] TIBConnection + LCLNoGui + FreeBSD
Michael Van Canneyt
michael at freepascal.org
Wed May 18 21:10:44 CEST 2011
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.
More information about the Lazarus
mailing list