[Lazarus] Linker errors
Michael Van Canneyt
michael at freepascal.org
Wed Jan 15 10:26:27 CET 2014
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 ?
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)
More information about the Lazarus