[Lazarus] I need TTimer (or equivalent) in a CLI program.

Donald Ziesig donald at ziesig.org
Wed Jul 20 23:04:26 CEST 2016


I am writing a command line program that will be started as root from 
/etc/init.d.  (Raspberry PI that will not be connected to the internet.)

This program requires TTimer, which seems to be a part of LCL and gives 
me missing units at compile time.

To try to get around LCL, I derived a timer from TCustomTimer. 
Unfortunately, this pulls in TWidgetSet (also part of LCL but without 
the missing units) and I get run time error 211 since TWidgetSet is 
abstract.

Is there any timer-like component available without bringing in LCL?


Thanks,


Don Ziesig




More information about the Lazarus mailing list