Recent

Author Topic: [Problem] Failed To Compile When Putting A Timer Component In A Daemon Container  (Read 2957 times)

stacker

  • Newbie
  • Posts: 1
In Lazarus 1.0.4, Jut Put A Timer Component Into A Daemon Container, And The Source Just Failed To Compile With Error Message Unknown Identifier WSxxxxx...

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
A daemon normally doesn't have any UI, thus doesn't depend on LCL. TTimer is part of LCL. If you want to use it, add Interfaces unit to your daemon's uses clause and use NoGUI as LCL backend. Otherwise, use TFPTimer and manage the instance from code (no drag-n-drop).

 

TinyPortal © 2005-2018