hello i am doing a mdi project in visual c++ using mfc i am using a CArray to save and load data to documents. CArray contains members of a custom class of mine.
Saving and loading works fine
I get access violation when closing a document that i have opened, and debugger points me to carray.
the weird thing is that i can close without problem "new" documents and the program crashes only when i am trying to close a document that i "open".
any idea how to fix it?