On Wed, 30 Jun 2010 15:24:23 +0300 Juha Manninen <[email protected]> wrote:
> > 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? It is light, but it still has much more fat than just using a few LCL units (e.g. FileUtils). IMO the nogui widgetset is only needed for a few rare cases. Maybe you can do a simple word search for some of the nogui widgetset functions. If they are not used, do not add it. Or: make it an option. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
