Le 15/01/2014 10:26, Michael Van Canneyt a écrit :


On Wed, 15 Jan 2014, Antonio Fortuny wrote:


Le 15/01/2014 10:08, leledumbo a écrit :
Whenever you have `undefined reference to WSRegisterXXX`, you're missing
Interfaces unit in the .lpr. Sometimes package that registers custom
components (such as RichMemo) in its package main file is also required to
be added to .lpr's uses clause.
Great, it works !! 8-) Thanks a lot  and, hum, I look so stupid.:-[
Maybe one more question: is it true if I assume that when using any
cocntrol from the "ExtCtrls" unit, the Interfaces unit is required even
when the components used are not visible ?

Yes.

But you should not use an LCL timer. It will not work anyway in a daemon app since it does not use the LCL application event loop.
(unless the lazarus team used some black magic to implement it)
I guess that TFPTimer should do it (please be clement with me and don't think I'm looking stupid again)

Antonio.

Michael.


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce 
que la protection avast! Antivirus est active.
http://www.avast.com



--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to