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: 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.)

-Michael

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

Reply via email to