[Lazarus] Cross-compiling for Raspberry Pi2

Michael Schnell mschnell at lumino.de
Mon Sep 21 13:15:41 CEST 2015


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




More information about the Lazarus mailing list