[Lazarus] RE : TRichMemo and current Lazarus

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Fri May 18 11:32:53 CEST 2012

Ludo Brands wrote:
>> I'm trying to work by creating the TRichMemo under 
>> code-control rather 
>> than using the IDE, so that I can easily enable/disable it 
>> depending on 
>> what packages etc. are available.
>> With references to RichEdit, my terminal emulator compiles, but at 
>> linkage I get
>> /usr/local/src/x2741/trunk/lib/i386-linux/richmemo.o: In function 
>> /usr/local/src/richmemo/richmemo.pas:180: undefined reference to 
>> `WSRegisterCustomRichMemo'
>> Any suggestions would be appreciated.
> WSRegisterCustomRichMemo is defined in the unit RichMemoFactory.
> Richmemopackage.pas has this in the uses clause. So add RichMemoFactory to
> the uses clause of your program. Perhaps some others need to be added too
> but they should be listed in Richmemopackage.pas.

Thanks Ludo, I'll try that in about an hour.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the Lazarus mailing list