Ok,

I've read through several threads on using SEH to catch exception that would normally not be caught by your standard try-catch blocks.

Using a basic setup, I cannot catch an Access Violation occuring in an ActiveX control that I am deleting.

Code:
static void my_translator(unsigned code, EXCEPTION_POINTERS *)
{
     throw code;
}


// called in dialog constructor:
_set_se_translator(my_translator);


CMydialog::OnCloseConnection()
{
     try
     {
           delete m_pWA;
    }
    catch(unsigned code)
    {
         AfxMessageBox("Testing:  caught access violation");
    }
}
Program crashes, my translator is never called. What am I missing?