search for: pthrowinfo

Displaying 1 result from an estimated 1 matches for "pthrowinfo".

Did you mean: _throwinfo
2016 Jun 10
2
Windows: How to catch C++ exceptions in runtime-compiled code?
...code at runtime and loading it with the ORC libraries, every throw results in an unhandled exception. The point of interest seems to be the throw handler for C++ exceptions (throw.cpp): __declspec(noreturn) extern "C" void __stdcall _CxxThrowException(void* pExceptionObject, _ThrowInfo* pThrowInfo) { ... RaiseException( ThisException.ExceptionCode, ThisException.ExceptionFlags, ThisException.NumberParameters, (PULONG_PTR)&ThisException.params ); } For some reason the call to RaiseException does not find or consider the...