[fpc-devel] Web language

L505 fpc505 at z505.com
Sat Feb 4 20:55:21 CET 2006

> > 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?

More information about the fpc-devel mailing list