[Lazarus] Linker errors
Antonio Fortuny
a.fortuny at sitasoftware.lu
Wed Jan 15 12:40:27 CET 2014
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.
Sounds clear.
>
> 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 don't know whether the Lazarus team used some magic or not but it
works on WIn32 with the service. I'll port it now on Linux and I'll
report the results.
Antonio.
>
> Michael.
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at 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
More information about the Lazarus
mailing list