C++ Programming
04-24-2009, 11:40 AM
Hello,
I have a project without Doc-View Architecture.I have ChildFrame derived from CMDICildWnd and ChildView1 derived from CView .When a new window is made it is made properly but when I want to close the window I get Debug Assertion failure.
When I debugged the program the problem is with the destructor of the ChildView.
I have another ChildView2 derived from CWnd but there is no problem in closing this ********
How should I go about rectifying the destructor ?
Prithaa
I have a project without Doc-View Architecture.I have ChildFrame derived from CMDICildWnd and ChildView1 derived from CView .When a new window is made it is made properly but when I want to close the window I get Debug Assertion failure.
When I debugged the program the problem is with the destructor of the ChildView.
I have another ChildView2 derived from CWnd but there is no problem in closing this ********
How should I go about rectifying the destructor ?
Prithaa