637 Subj : Using debugmacros in BCB 6.0? To : borland.public.cpp.borlandcpp From : "Palmetzhofer Dietmar" Date : Thu Sep 11 2003 01:06 pm I was using the debug-macros in BCB 5.0 and they worked very well. I now turned over to BCB 6.0 GE (Patch #4), and I get a linker error when I am trying to use them. Has something changed? The linker gives me the following error: [Linker Fehler] Unresolved external 'TDiagGroup::Message(const char *, _STL::basic_ostringstream, _STL::allocator >&, const char *, unsigned long)' referenced from D:\CPP_BEISPIELE\MEINE_BEISPIELE\MASTERDETAIL\UNIT1.OBJ What am I doing wrong now? Thanks, Didi So here is the - very simple - code: #include #pragma hdrstop #include "Unit1.h" //-------------------------------------------------------------------------- - #pragma package(smart_init) #pragma resource "*.dfm" #define __DEBUG 1 #define __TRACE #include TForm1 *Form1; //-------------------------------------------------------------------------- - __fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { } --------------------------------------------------------------------------- void __fastcall TForm1::BitBtn1Click(TObject *Sender) { DataModule2->ADOTable2->AppendRecord(ARRAYOFCONST((0,0))); } file://--------------------------------------------------------------------- ------ void __fastcall TForm1::Button1Click(TObject *Sender) { ShowMessage("Button wurde geklickt"); TRACE("Testmsg"); } . 0