Am 23.10.2015 07:39 schrieb "Graeme Geldenhuys" <
[email protected]>:
> Then refactor / clean-up the code to remove such "gui" dependencies if
> you want a true console application. Windows always has a GUI - so there
> you can get away with including GUI units, widgets or clipboard in your
> "console" application. But for Unix-based systems that have true
> headless environments, you *must* create a true console application,
> otherwise the application will not run.

While I agree that Bo should refactor his code three is also the point that
including just the units does no harm as Matthias has said. Only the
"Interfaces" unit does that, cause that is the one that binds the
components to the widgetset and is only used in the main program.
This is especially true if the code related to the GUI components isn't
even used (yes, I knew such stuffed units as well -.- ).

Regards,
Sven
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to