hi,
there is a linking problem when I use TRef with an include of windows.h.
in the following program
#include <windows.h>
#include <TRef.h>
int main(int argc, char *argv[])
{
TRef ref;
TObject *obj = ref.GetObject();
return 0;
}
this linking error occurs
error LNK2019: Nicht aufgeloestes externes Symbol "public: class TObject * __thiscall TRef::GetObjectA(void)const " (?GetObjectA@TRef@@QBEPAVTObject@@XZ), verwiesen in Funktion _main
Of course, it works without the include of windows.h
I’m using the cvs version of root under windows xp.
Thanks for any help.
Matthias