you should never call a destructor explicitly! pull the destructor code into another method, if you think you do.
in the case of 'class MyClass : public CWin'
both ~MyCLass() and ~CWin() destructor will be invoked by the compiler (~MyCLass first). There is nothing you can do about it, you cant decide.
|