Detect that exception is not caught by user without rethrowing?

Look at this question to see if that helps you. As explained there, when you call throw you pass a data object (a class in your case) to throw: this is copied and passed to all the catch blocks which handle that type. (If your catch uses the type directly there is another copy, if it uses a reference to the type then this is omitted.).

Abort is C runtime function, and doesn't goes well with C++ and Windows SEH exceptions. Avoid it. It won't be caught in either catch or __try/__except.

Secondly, I suggest you to enable flag /EHs (C++ -> Code Generation -> Enable C++ Exception). This would facilitate you to catch both C++ and Windows SEH exceptions in try-catch block. It would also allow any pending destructors (however nested in callstack) to be called.

Remember _try/_except will NOT allow destructors to be called.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions