Hi Anton,
you could do something like:
TRint Rint(....);
...
TMyClass *MyClass = new MyClass();
gROOT->ProcessLine(Form("MyClass *MyClass = (MyClass*) 0x%x", MyClass));
...
Rint.Run(kTRUE);
of course MyClass must have a dictionary.
Cheers, Fons.
--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248
WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:09 MET