C++ exception not handled
Original Reporter info from Mantis: softvision
-
Reporter name: Bernd Engelhardt
Original Reporter info from Mantis: softvision
- Reporter name: Bernd Engelhardt
Description:
I have an external DLL which was written in C++. Some of these functions throws C++ exceptions.
WinDbg output:
(1b08.1590): C++ EH exception - code e06d7363 (first chance)
If I call such a function which throws an exception, my application crashes with the message "Control-C hit". If I call this function in a EXE, this raises an exception in my application ("Control-C hit"). If I do the same in a DLL, the whole DLL crashes - no chance to catch the exception.
This problem only occurs on Win64. If I do the same on Win32, the compiler seems to catch the exception and continues with normal programm execution.
I think that there is a different handling in Win64. The Win64 compiler should act the same way as the Win32 compiler.
Is there maybe a compilter switch to change the exception handling?
Mantis conversion info:
- Mantis ID: 17280
- OS: Windows
- Platform: Win64
- Version: 2.5.1
- Monitored by: » softvision (Bernd Engelhardt), » Giel (Giel), » VitaliyG (VitaliyG), » sethdgrover@gmail.com (Seth Grover), » @PascalDragon (Sven Barth)