an unhandled exeption when closing a dialog

the problem is in a MFC application:
when closing a dialog by system menu, an unhandled exeption occurs.
meravbdAsked:
Who is Participating?
 
stsanzConnect With a Mentor Commented:
Have you tried to execute your program in Debug mode ?
MFC assertion checks might help you.
0
 
yonatCommented:
It is hard to know what the problem is without seeing some code. However, one of the common causes for such a behavior is accesing a dangling pointer. This means trying to do something with a pointer you have already deleted (for example, deleting it again or trying to dereference it).

If you post some code, we may be able to provide better help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.