[Lazarus] RE : TRichMemo and current Lazarus

Ludo Brands ludo.brands at free.fr
Fri May 18 11:22:45 CEST 2012


> 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 
> `TCUSTOMRICHMEMO__WSREGISTERCLASS':
> /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.

Ludo 





More information about the Lazarus mailing list