
Catching hardware exceptions using C++ exceptions
Hardware exceptions are caught by Win32 SEH which is a distinct thing
from C++ exception handling.
You can however use _set_se_translator() function to map a hardware
exception into a C++ object exception.
Search for _set_se_translator() for more info.
Rob
Hello,
can somebody tell me, how to catch and identify hardware or OS
exceptions, e. g.
access violation, using the C++ exception model.
I know that I can catch those witch catch (...), but how can I identify
the cause
for the exception.
I found nothing about it in the MSDN docs, except for the older SEH
model, but it
seems that it is not possible to mix SEH and C++ exceptions.
Any hints or links are welcome.
Thank you.
Kurt