[fpc-pascal] (no subject)

Bihar Anwar bihar_anwar at rocketmail.com
Sun Apr 11 16:22:54 CEST 2010


Yes it works, but the {$DEFINE NOFORMSPLEASE} clause must be put in the unit itself. If I put the clause in the first line of my console project, the unit won't catch it.

How can I define a compiler directive that can be understood by all units in my project?

Anyway, thanks.



----- Original Message ----
From: Bart <bartjunk64 at gmail.com>
To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
Sent: Sun, April 11, 2010 4:51:54 PM
Subject: Re: [fpc-pascal] (no subject)

Simply define the compiler directive NOFORMSPLEASE when compiling your
console app.
The ProcessMessages is there (I guess) for allowing the Application
object to update screens (WinControls).

Since a console application does not link in LCL this is not necessary.

Bart
_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



      



More information about the fpc-pascal mailing list