-
November 21st, 2013, 01:22 PM
#1
Destroying an CArray of Cobject derived classes.
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|