Unresolved external LoadRTF

General TRichView support forum. Please post your questions here
Post Reply
rowisoft
Posts: 3
Joined: Wed Apr 22, 2009 9:26 am

Unresolved external LoadRTF

Post by rowisoft »

Hi,

in C++Builder the linker gives this error message, when I use the "LoadRTF"-Method in my code:
[ILINK32 Error] Error: Unresolved external '__fastcall Richview::TCustomRichView::LoadRTF(const System::AnsiStringT<0>)' referenced by C:\SANDBOX\MYPROJECT\DEBUG\NAVTREEFRAME.OBJ

What am I doing wrong?

Regards,
Robert
Sergey Tkachenko
Site Admin
Posts: 17609
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

What version of C++Builder?
rowisoft
Posts: 3
Joined: Wed Apr 22, 2009 9:26 am

Post by rowisoft »

Hi,

I am using C++Builder 2010.

Regards,
Robert
Sergey Tkachenko
Site Admin
Posts: 17609
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

The paramater of LoadRTF() in C++Builder 2010 has UnicodeString, not AnsiString type.

Find calls to LoadRTF() in NAVTREEFRAME.cpp.
Convert parameters to UnicodeString.
Post Reply