[ROOT] delete object problem, repost

From: joe robe (joer00@yahoo.com)
Date: Fri Aug 17 2001 - 15:23:13 MEST


i posted this problem before, but no answer, maybe it
was even not posted (stupid yahoo mail, happens
sometiems !) !

I have a custom class which I load into root with L.
c:\\myclass.c

in a macro I create an object MyClass* MyObject=new
MyClass()

Later I try

delete MyObject which retunrs error "cant delete
c:\\mymacroname.c"

I put an "cout << "destructor called" in the class and
its never called, so root did also not automatically
destroy the object. 

What am I missing here ?

Joe


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



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