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 -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus