On Tue, Sep 6, 2016 at 6:44 AM, Santiago A. <s...@ciberpiula.net> wrote: > I have found a solution here: > > http://stackoverflow.com/questions/20134421/can-a-windows-gui-program-written-in-lazarus-create-a-console-and-write-to-it-at > > At least it works for windows > > uses > Windows; > begin > AllocConsole; // in Windows unit > IsConsole := True; // in System unit > SysInitStdIO; // in System unit > // Now you can do Writeln, DebugLn, ... > end.
This is very useful to show whats going on in a Windows application when is processing in background, thanks. Regards, Marcos Douglas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal