Is it safe to catch EXCEPTION_GUARD_PAGE
- by Michael J
Environment is VC++ 9 on various Win platforms (XP and later)
I'm writing an unhandled exception handler. I have a vague recollection from my kernel days that it was bad to catch an EXCEPTION_GUARD_PAGE, as this was generated to tell the OS to enlarge the stack.
My question is twofold:
Can such an exception occur in user space?
If so, is it safe to catch it?
I'm not especially interested in doing anything with it. I just want to know if I need to put special code in to not catch it (as I'm catching everything at the moment).