[Lazarus] Hmm, forum.lazarus.freepascal.org isn't loading right now.

Michael Joyner ᏩᏯ mjoyner at vbservices.net
Sun Dec 27 02:45:36 CET 2009


Hello Lazarus-List,

Friday, December 25, 2009, 12:02:33 PM, you wrote:

>> B> Just run the program from commandline (in Windows uncheck Win32 GUI
>> B> application in Project -> Compiler Options -> Linking, or put
>> B> {$APPTYPE CONSOLE} at top of your .lpr file)
>> But my program is not a console application. It does not show any kind
>> of error (stdout does not exists, I'm on windows).

HPD> On Windows you can uncheck the option (see above), to get a GUI 
HPD> application with an attached console. A very nice feature for debugging,
HPD> not available on most other platforms.

I know, in fact I'm using it a lot in combination with writeln. In
fact my problem is solved, but a beginner that uses a unit that raises
an exception will think that either the package is completly wrong or
that Lazarus is wrong as no error is shown.

-- 
Best regards,
 JoshyFun





More information about the Lazarus mailing list