seh Questions

2

Solved

Say a C program might trigger an exception of opcode 0xCC How can I catch it? I tried: __try { ...some code } __except(GetExceptionCode()==EXCEPTION_EXECUTE_HANDLER) { _tprintf(_T("Erro...
Jansenism asked 17/5, 2011 at 17:34

1

Solved

I'm reading how SEH is implemented in Win32 and I came across this thing called the FS register. I couldn't find anything good on Google (most probably I may be searching for the wrong thing). So c...
Illation asked 1/2, 2011 at 8:5

2

Solved

If I'm creating a new project in unmanaged C++, Visual Studio 2008 or greater, which exception handling model do I want to go with? I understand that /EHa option results in less efficient code, an...
Jube asked 10/12, 2010 at 22:52

5

Solved

What important points about Structured Exceptions should every C++ developer know?
Pigeonwing asked 6/5, 2010 at 17:1

4

Solved

This question provides more clarity on the problem described here. I did some more investigation and found that the stack unwinding is not happening in the following piece of code: class One { pub...
Registry asked 6/3, 2009 at 6:13

3

Solved

I wish to set a usererror string before leaving a function, depending on the return code and variable in the function. I currently have: Dim RetVal as RetType try ... if ... then RetVal = RetTy...
Gravity asked 20/11, 2008 at 10:14

3

Solved

This article gives a good overview on why structured exception handling is bad. Is there a way to get the robustness of stopping your server from crashing, while getting past the problems mentioned...
Empanel asked 2/10, 2008 at 20:19

© 2022 - 2024 — McMap. All rights reserved.