On Mon, 11 Feb 2008 08:54:59 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:
> On 10/02/2008, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > > > > > This console app runs okay on Delphi. Is there something I'm > > > missing here or is this just not possible with Lazarus? > > > > Did you add the 'interfaces' unit as one of the first units of your > > program? > > > You can't do that Mattias! It then it becomes a GUI application. The > 'interfaces' unit pulls in GUI code which then requires X Server under > Linux etc... Yes. The LCL is a visual component library. When someone asks on this list about 'console app runs okay on Delphi' I assume he wants a short answer to get something Delphi compatible and not a long answer about pros and cons. Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives