[Lazarus] Cross-compiling for Raspberry Pi2

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Mon Sep 21 12:48:45 CEST 2015

On 2015-09-21 09:14, Michael Schnell wrote:
> I am rather positive that a Delphi "Service Application" can do TTimer etc.

No it doesn't... At least not by simply creating an instance of TTimer
and hooking up the OnTimer event.

This applies to both Console and Service applications under Delphi. The
Delphi TTimer, in uses the WM_TIMER Windows message and a Console and
Service application don't have a message loop. So to get it to work, you
need to implement your own message loop.



  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the Lazarus mailing list