I use a CArray<CClase1,CClase1> m_Clases1.

CClase1 is derived of CObject. " class CClase1 : public CObject"

When, at last I do : "m_Clases1.RemoveAll()" , I supose that the CClase1 destructor is called. But when i do this the program fails.
IS there an evident reason for that? What i´mdoing wrong?

THAnks.