I just downloaded the new root version for NT, and i try to load a dll in
the ROOT-CINT which i created with version 1.03/1.09 and connect a root
file (also created with the class in this dll)
This dll is somewhat analogue to the famous "Event" example
when i try to run the simple macro:
{
gROOT->Reset();
Float_t x[1024];
Float_t y[1024];
gSystem.Load("Eventr.dll");
TFile f("track.root");
TTree *T = (TTree*)f.Get("T");
}
the following error occurs:
CINT/ROOT C/C++ Interpreter version 5.13.44, Mar 1 1998
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .x init.c
Warning in <TBranchClones::Streamer>: Unknow class: Track. Cannot read
BranchClo
nes: fTracks1
Warning in <TBranchClones::Streamer>: Unknow class: Track. Cannot read
BranchClo
nes: fTracks2
Warning in <TBranchClones::Streamer>: Unknow class: Track. Cannot read
BranchClo
nes: fTracks3
Warning in <TBranchClones::Streamer>: Unknow class: Track. Cannot read
BranchClo
nes: fTracks4
Warning in <TLeafObject::Streamer>: Cannot find class:Event
root [1]
so obviously the new root cannot understand my dll created with the
previous version.
when i try to re-make my whole class, i get the following error :
Eventr.obj : error LNK2001: unresolved external symbol "class TClass *
__cdecl C
reateClass(char const *,short,char const *,char const *,int,int,struct
IconDesc_
t *)" (?CreateClass@@YAPAVTClass@@PBDF00HHPAUIconDesc_t@@@Z)
Eventr.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x19'
Stop.
Mind you everything worked fine with the previous version.
So my question is : What im a doing wrong here ?
thanx in advance,
Rene Scholte