Page 1 of 1

Unresolved external LoadRTF

Posted: Wed Feb 03, 2010 4:24 pm
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

Posted: Wed Feb 03, 2010 5:46 pm
by Sergey Tkachenko
What version of C++Builder?

Posted: Wed Feb 03, 2010 6:52 pm
by rowisoft
Hi,

I am using C++Builder 2010.

Regards,
Robert

Posted: Wed Feb 03, 2010 8:20 pm
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.