VincentP
Programmer
- Apr 1, 2001
- 116
Hi,
I am trying to have a CObArray of CObArray pointers to have a 2-dimensional array of CObjects. When I want to delete the 2nd CObArray's stored into the first one, I get an "Assertion Failed" error. To make sure I was not doing something wrong, I tried the following:
I am trying to have a CObArray of CObArray pointers to have a 2-dimensional array of CObjects. When I want to delete the 2nd CObArray's stored into the first one, I get an "Assertion Failed" error. To make sure I was not doing something wrong, I tried the following:
Code:
CObArray * tmp = new CObArray;
delete tmp;
[\code]
and it does NOT work!!!
IMHO, this SHOULD work. Am I wrong?
Anybody has an idea to work around this problem??? Is it a known problem??
I have just installed SP5 (VC++ 6.0) (I don't know which one I had before, if any, but that did not change that problem...)
Vincent