NET Visual Basic Discussion Boards Books on. The destructor is not called because 'delete' is applied to void pointer. You can write a special cleanup function for common base class in your class hierarchy. If aren't - you'll need to write several cleanup functions with an explicit type casting inside each of them. Of course, this is not fine.
Simple types have no destructors.
EarthWeb is a service of INT Media Group, Incorporated. Copyright 2001 INT Media Group, Incorporated. All Rights Reserved.