TSevet 0 Posted yesterday at 03:02 AM (edited) 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. Edited yesterday at 03:15 AM by TSevet Share this post Link to post
Angus Robertson 662 Posted 23 hours ago None of the functions relate to the ICS library, never heard of WP Tools. Angus Share this post Link to post
Roger Cigol 137 Posted 21 hours ago WP tools: https://www.wpcubed.com/pdf/products/ I agree with @Angus Robertson - it's not clear why you posted your question under ICS. You might get an answer on this (DelphiPraxis) forum but maybe you would be better posting it on the WP forum: https://www.wpcubed.com/forum/board/ Share this post Link to post