[Lazarus] Converting a console app

dmitry boyarintsev skalogryz.lists at gmail.com
Wed Jun 30 12:42:36 CEST 2010


On Wed, Jun 30, 2010 at 2:52 PM, Juha Manninen <juha.manninen at phnet.fi> wrote:
> Why does it happen? The obvious solution is not to add LCL dependency to
> console apps. Is it always the correct way?
It's lack of Interfaces unit.

Console applications are not always Windows dependant.
So I guess adding LCL dependency + Interfaces, LCLIntf units should
NOT be strict.

i.e.

begin
  writeln('hello world');
end.

No need for LCL units here :)

thanks,
dmitry




More information about the Lazarus mailing list