[Lazarus] How many timers available on Linux (Raspberry Pi)?
Bo Berglund
bo.berglund at gmail.com
Thu Jul 23 07:46:57 CEST 2020
On Wed, 22 Jul 2020 13:24:58 +0200 (CEST), Michael Van Canneyt via
lazarus <lazarus at lists.lazarus-ide.org> wrote:
>> OTOH it does not start the TCP server by the looks of it, but that is
>> another problem that belongs to the normal tracing of the
>> functionality.
That was caused by a missing call to "StartServer"....
It now runs and can be connected to using the old Windows client
application.
>> I wonder if the TTimers are working or if I should change to TfpTimer
>> as suggested? I cannot tell right now.
>
>TTimer does not work in nogui or console applications.
>
That means I will have to go over the code and replace TTimer with the
fpTimer instead.
Something like:
{$IFDEF FPC}
FCommTimer: TFPTimer;
{$ELSE} //Delphi
FCommTimer: TTimer;
{$ENDIF}
And also fixing the uses clause the same way.
Thanks for the clarification!
--
Bo Berglund
Developer in Sweden
More information about the lazarus
mailing list