On 09/21/2015 12:37 PM, Michael Van Canneyt wrote:

That is because (at least up till Delphi XE) a Delphi service application runs the *GUI* processmessages loop (it uses unit forms for this).

Maybe from the POV of the application but...

With Win XP a Service could optionally show a GUI Window which is depreciated as a security glitch as that window runs with system rights.

In fact in Windows >=7 (or so) the OS prevents that a Service shows a Window.


As pointed out above to the user it is not important how the implementation of the event queue (aka "message queue", aka " processmessages loop") is implemented,. If he does not want his project top show a GUI (e.g. with a Windows Service or with a GUI-less Linux project. He just needs to know how to set up a project that allows him to use the features he needs (be that TTimer, TThread.Queue, TThread.Synchronize and/or Application.QueueAsncCall) .

If that needs for doing an application with full GUI support in Linux, this is not really desirable, but IMHO not a problem that should prevent using Lazarus, but in very rare cases.

-Michael

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to