Thanks a lot.
First, of course, the virtual question was about an inherited class. I can't say why but even without the "virtual" keyword, my destructors are correctly called. lets say its ok ...
The compiler can avoid using a virtual call to destroy a class if it can prove that the object isn't derived. A local instance on the stack, for example, could directly call the destructor.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
