N
Nils
Hi,
sometime the following line produces an exception:
((CMessageDialog*)vec->at(0))->EndDialog(1);
Now I want to catch this Exception, tried it with c++ and mfc exception
handling, like:
C++ in MFC
try
{
((CMessageDialog*)vec->at(0))->EndDialog(1);
}
catch(CException *e)
{
}
---------------------------------------------------------
MFC Makro
TRY
{
((CMessageDialog*)vec->at(0))->EndDialog(1);
}
CATCH(CNotSupportedException, pEx)
{
}
END_CATCH
The Debugger still shows exceptions but never enters the chatch area.....
Can anyone please help me, why the exception is not catched?
Thank you
sometime the following line produces an exception:
((CMessageDialog*)vec->at(0))->EndDialog(1);
Now I want to catch this Exception, tried it with c++ and mfc exception
handling, like:
C++ in MFC
try
{
((CMessageDialog*)vec->at(0))->EndDialog(1);
}
catch(CException *e)
{
}
---------------------------------------------------------
MFC Makro
TRY
{
((CMessageDialog*)vec->at(0))->EndDialog(1);
}
CATCH(CNotSupportedException, pEx)
{
}
END_CATCH
The Debugger still shows exceptions but never enters the chatch area.....
Can anyone please help me, why the exception is not catched?
Thank you