[Lazarus] writeln to stdout in windows?

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Tue Jul 29 17:40:39 CEST 2008


Unlike Linux, GUI software in Windows have by default no console, and
therefore no StdOut (or you can think that StdOut is nil). This a
platform characteristic.

To add a console to your program add this to your program file:

{$apptype console}

This is explained in the upcoming Lazarus book in the Input/Output subchapter.

-- 
Felipe Monteiro de Carvalho



More information about the Lazarus mailing list