In my MDI Project I was unable to catch errors in try catch block.so I just tried with
simple dialog based application . I placed one button on dialog and on its click
I created divide by zero error. But it does not go in catch block at all. I searched
and everything in project properties and options but I did not able to find option
to turn on exception handling .Please help its urgent,as project is approaching completion.
I tried same thing in my home and I found exception handling doesnot work in home pc also. I am using genuine copy of VS 2010 professional on windows 7.0.
MDI project developed in VC++ 2010 (MFC).
It appears very silly but genuinely I am not able to locate even by using google.
int j = 0;
int i = 10/j;
I even tried all child classes of CException.