[Lazarus] Hello World program generates a File Not Open runtime error

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jan 29 17:06:30 CET 2012


On Sun, 29 Jan 2012 13:42:33 -0200
Antônio <antoniog12345 at gmail.com> wrote:

> > But you can fill in a bug report and request to add the the templates and
> > IFDEF for windows that add console mode, or something like that
> 
> I think this is a good idea.
> 
> {$IFDEF Windows}{$apptype console}{$ENDIF}

These things can be done by the IDE by passing the right -W option.
I'm not sure about the details. Some of the -W options have changed. I
will ask on the FPC list, when -WG, -WC, -WF, -WT should be passed.

Mattias




More information about the Lazarus mailing list