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 `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.

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]

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to