Hi,
I am moving my old project to modern version of Builder,
When building my project with WP Tools 9.3.9.3 I am getting error:
[bcc32 Error] WPRTEDefs.hpp(1735): E2238 Multiple declaration for '_fastcall TWPAbstractCharAttrInterface::GetFontName(UnicodeString &)'
[bcc32 Error] WPRTEDefs.hpp(1734): E2344 Earlier declaration of '_fastcall TWPAbstractCharAttrInterface::GetFontName(UnicodeString &)'
this is due to C++builder System::Uitypes::TFontName type is just the same as System::UnicodeString so trying to compile following (WPRTEDefs.hpp), will not pass:
bool __fastcall GetFontName(System::UnicodeString &FontName)/* overload */;
bool __fastcall GetFontName(System::Uitypes::TFontName &FontName)/* overload */;
Just commenting one of the overloads will not work - linker would not recognize obj.
Could You kindly help me to surpass that issue?
Regards.