[fpc-devel] Web language

Christian Iversen chrivers at iversen-net.dk
Sun Feb 5 18:11:47 CET 2006


On Saturday 04 February 2006 20:55, L505 wrote:
> > > Okay, I know this is a beginner questions, but how do I create a Pascal
> > > program that only reads the text and sends it through some sort of CGI
> > > thing (i.e. doesn't pop up that DOS-style window/shell). I already know
> > > how to do the CGI part, I just need to know how to make a program
> > > without a user interface.
> >
> > On Unix platforms, you don't need to do anything. Just use read/write
> > functions to communicate with the world around you.
> >
> > On Windows, you need to define that you are not working with a GUI
> > program, which you do like this:
> >
> > {$APPTYPE console}
>
> I think that is with Delphi.
> Isn't freepascal the opposite, where in fact command line mode is default
> and you must explicitly specify app type of GUI if you want a GUI?

Oh, I thought the original question was about Delphi - one of the recent 
questions were :)

-- 
Regards,
Christian Iversen



More information about the fpc-devel mailing list