G
Guest
Hi all,
Maybe someone can help me with this:
My C++ project contains try and catch blocks. A catch-all block triggers my
custom message box with some information on the error caught. The stacktrace
is written to a log file. While stepping through my application from within
the IDE everything works fine. However, when i start my application outside
the IDE (which is an MS Outlook plugin, by the way) i receive this annoying
"Microsoft Visual C++ Runtime Library" error dialog telling me of a "Runtime
Error!". It seems that my catch block is ignored!
A google search, unfortunately, only turned up a reference to the function
set_terminate() which allows me to redirect the exception handling before,
again, this runtime dialog fires.
Is there a method (compiler switches, Macros, includes, library imports
whatever) which prevents this ugly message box to appear?
regards,
Lennart
Maybe someone can help me with this:
My C++ project contains try and catch blocks. A catch-all block triggers my
custom message box with some information on the error caught. The stacktrace
is written to a log file. While stepping through my application from within
the IDE everything works fine. However, when i start my application outside
the IDE (which is an MS Outlook plugin, by the way) i receive this annoying
"Microsoft Visual C++ Runtime Library" error dialog telling me of a "Runtime
Error!". It seems that my catch block is ignored!
A google search, unfortunately, only turned up a reference to the function
set_terminate() which allows me to redirect the exception handling before,
again, this runtime dialog fires.
Is there a method (compiler switches, Macros, includes, library imports
whatever) which prevents this ugly message box to appear?
regards,
Lennart