[Lazarus] Converting a console app

Juha Manninen juha.manninen at phnet.fi
Wed Jun 30 14:24:23 CEST 2010


> There is no reason whatsoever to drag in the nogui widgetset and whatnot in
> a  console application. That is just plain wrong. Someone using e.g. the
> forms unit in a console application is coding wrong, and he should be
> pointed out this fact by letting the compile step fail.

Using the Forms unit would be wrong, sure, but there are Windows compatibility 
functions in eg. LCLIntf which are not only for GUI. LCLIntf is part of LCL.

NoGUI widgetset is light compared to the "real" widgetsets and it should be no 
problem.

Am I right?

Juha




More information about the Lazarus mailing list