Catching Access Violations
C / C++ / MFC
2
Posts
1
Posters
0
Views
1
Watching
-
Hi All, I've just discovered I can handle the various kernel exceptiions, like 0xc0000005 : Access Violation by using: catch (...) { } Is it common knowledge that this can be done? Why doesn't everyone handle GPFs etc like this (nicely)... By the way, does the caught exception have a type? nb
-
Hi All, I've just discovered I can handle the various kernel exceptiions, like 0xc0000005 : Access Violation by using: catch (...) { } Is it common knowledge that this can be done? Why doesn't everyone handle GPFs etc like this (nicely)... By the way, does the caught exception have a type? nb
Answered my own question- you can only catch them with the ellipsis if anyone's interested in this, check out _set_se_translator() in the MSDN cheers \ nb