[lazarus] Console application

2006-08-21 Thread Fabrício F. Kammer
Hi all, I'm writing an TCP server using synapse and I want that the application runs as a console application to be comptible with linux and windows systems. I did the graphical applicatio using lazarus and running on windows, but I don't know how to make a console application. I'm doing l

Re: [lazarus] Console application

2006-08-21 Thread Felipe Monteiro de Carvalho
Put {$apptype console} on your main file, the one with the program directive. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.laza

Re: [lazarus] Console application

2006-08-21 Thread Fabrício F. Kammer
Hi Felipe, Thanks for your answer. What does this directive do? Are you Brazilian? Felipe Monteiro de Carvalho escreveu: Put {$apptype console} on your main file, the one with the program directive. _ To unsubscribe: mail

Re: [lazarus] Console application

2006-08-21 Thread Felipe Monteiro de Carvalho
On 8/21/06, "Fabrício F. Kammer" <[EMAIL PROTECTED]> wrote: Thanks for your answer. What does this directive do? It tells the compiler to generate a console application under Windows. Has no effect under Linux, because on Unixes all applications are potentially console applications. Are you B

Re: [lazarus] Console application

2006-08-21 Thread A.J. Venter
On Tuesday 22 August 2006 04:04, Felipe Monteiro de Carvalho wrote: > On 8/21/06, "Fabrício F. Kammer" <[EMAIL PROTECTED]> wrote: > > Thanks for your answer. What does this directive do? > > It tells the compiler to generate a console application under Windows. > Has no effect under Linux, because

Re: [lazarus] Console application

2006-08-22 Thread Burkhard Carstens
Am Montag, 21. August 2006 21:51 schrieb Fabrício F. Kammer: > Hi all, > > I'm writing an TCP server using synapse and I want that the > application runs as a console application to be comptible with linux > and windows systems. > > I did the graphical applicatio using lazarus and running on window

Re: [lazarus] Console application

2006-08-22 Thread Fabrício F. Kammer
Thanks for all, Can I create an unique project that I'll be able to compile to run as service on Windows XP/2K, as a normal program on a Windows 98 and as a Daemon on Linux or will I need to have 3 distincts applications? Regards Fabrício Fabrício F. Kammer Burkhard Carstens escreveu: A