It seems that TMapFile doesn't know what to do with objects that are not derived from TNamed. Although it will put them in the map file, it names them with the same name as the class itself. This prevents one from putting two instances of the same un-TNamed class in the same shared section. Deriving my objects from TNamed solves this problem, but is this how naming shared objects is supposed to work? If so, what is the purpose of the char* argument in TMapFile::Add(TObject*, char*)? - Peter --------------------------------------------------------------------------- Peter Steinberg, Columbia University E-mail: peter.steinberg@cern.ch Nevis Laboratories URL: http://wwwcn.cern.ch/~steinber P.O. Box 137 Home Phone: (212)678-5971 Irvington, NY 10533 Nevis: (914) 591-2776 (fax 8120) ---------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:35 MET