[ROOT] Class not in dictionary (strange behaviour of TChain?)

From: Thomas Bretz (tbretz@uni-sw.gwdg.de)
Date: Fri Oct 26 2001 - 12:21:58 MEST


Hello rooters,

I have some strange behavour and no idea where to search for...

At some point of my program I create a TChain object and add a file to
it. This is done in a ProcessMessage function of TGMainFrame.

Now I have two TGMainFrames. In one everything is fine and in the one I
get something like <TClass::TClass> no dictionary available for class
MyClass, when adding the file to the chain. Where MyClass is one (not
all) of the classes in the tree. Also gROOT->GetClass("MyClass") gives
NULL until the file is added to the chain, where in the other
TGMainFrame I get a pointer also before adding the file. There is no big
difference between this two TGMainFrames (except that I'm using
different GUI elements) . If I instatiate (MyClass class;) an object of
the class before adding the file everything works fine. Sounds for me
like a shared library is loaded at the wrong time - but the program is
stadily linked...

Does anybody have an idea about this behaviour or an idea what I can
check or look for?

Thanks in advance,
Thomas.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:04 MET