Navadvipa Chandra das 0 Posted December 20, 2021 Hello, All! There was a fully functional library for C++Builder 6. I started translating it to C++Builder 10.4.2. I divided it into two packages - one for FMX, the other for VCL. The VCL_NizhnyayaNavadvipa package is successfully compiled, but not successfully linked. And I can't figure out where the error is, because the linker gives the generated names - '___unnamed_4' and '___unnamed_5' ! https://github.com/Navadvipa-Chandra-das/NizhnyayaNavadvipa here's what he writes [ilink32 Error] Error: Unresolved external '___unnamed_4' referenced from C:\C\NIZHNYAYANAVADVIPA\WIN32\DEBUG\CWDTREE.OBJ [ilink32 Error] Error: Unresolved external '___unnamed_5' referenced from C:\C\NIZHNYAYANAVADVIPA\WIN32\DEBUG\CWDTREE.OBJ [ilink32 Error] Error: Unable to perform link Where is the problem? How to find it? Can anyone help? Thank You! With best regards, Navadvipa Chandra das. Share this post Link to post
Navadvipa Chandra das 0 Posted December 22, 2021 Hello, All! Problem create this row: TCWNodeAdmin *na = dynamic_cast< TCWNodeAdmin* >( AComponent ); Thank You! With best regards, Navadvipa Chandra das. Share this post Link to post
Navadvipa Chandra das 0 Posted December 22, 2021 Hello, All! But an even bigger miracle is that when I moved the entire void __fastcall TCWDBTreeView::Notification(TComponent *AComponent, TOperation Operation) method entirely to the end of the file cwdtree.cpp , then the linking problem has disappeared! Hurray! It turns out that the order of the methods in the cpp file matters! Thank You! With best regards, Navadvipa Chandra das. Share this post Link to post