none
Try...Catch doesn't catch access violation exception?

    Question

  • VS2005 C++ and MFC.

     

    Under certain abnormal conditions, my application causes an access violation (c0000005), and the program crashes. I have tried inserting

    try {

     

    } catch (...) {

    }

    around the offending code, but this doesn't catch this exception.

    Is it possible for the try...catch mechanism to catch this kind of exception?

    Thanks,

    Jim

     

    Thursday, September 21, 2006 8:11 PM

Answers

All replies