The situation is as follows: Thread A receives an exception, saves the exception data somewhere in memory (using GetExceptionInformation in the exception filter), and the afterword Thread B receives this information about the exceptions and wants to recover it. But the fact is that when thread B redraws the caught exception, I skip the original call stack, which leads to the exception.
How can I rebuild the exception without losing the original call stack? (note that this question is for C ++).
c ++ windows exception exception-handling
unknown
source share