I use a SEH handler in my code, like this:
__try
{
// code...
}
__except(EXCEPTION_EXECUTE_HANDLER)
{
TRACE(_T("Exception"));
}
but get the following compiler errors:
e:\test.cpp(3310): warning C4509: nonstandard extension used: 'CMyClass::Test' uses SEH and 'iterator' has destructor
e:\test.cpp(3290): see declaration of 'iterator'
e:\test.cpp(3450): error C2712: Cannot use __try in functions that require object unwinding