[Lazarus] Strange dependency of units

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Apr 5 10:00:07 CEST 2012


On Thu, 05 Apr 2012 09:38:07 +0200
Michael Schnell <mschnell at lumino.de> wrote:

> On 04/04/2012 10:20 PM, Alberto Narduzzi wrote:
> >
> > True is that nowadays NON-GUY envs. tend to disappear; but you need to 
> > remember that FP is meant to be portable to (any) environment, 
> > including embedded systems; where this difference is still alive and 
> > kicking.
> Embedded stuff, CGI, Daemons/Services you name it.
> 
> Since years, I always advocated that it should be possible to do non-GUI 
> software in a decent way. But here, Lazarus is severely lacking support: 

And since years you are told that Lazarus adds GUI to the non GUI
stuff in FPC.
No gui stuff was never the goal of the LCL.


> there is _no_ Widget type that allows for normal "Delphi-Type" event 
> driven programming style, without requiring a GUI binding. (Because no 
> "Main Loop" and no event queue for timer- or thread generated events is 
> implemented.) Of course you can use a GUI enabled Widget Type and just 
> avoid doing GUI calls, but in an environment without the system 
> providing the appropriate GUI API, this program will simply not run. 
> (With the upcoming "CustomDrawn" Widget Type it might be possible to 
> create a GUI-free variant.)


Mattias




More information about the Lazarus mailing list