Re: MFC App nor handling std::exception

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You would have to show the code, and show your exception handler, so we could study what
else might be going wrong. In the absence of an example that (a) shows what code causes
the exception and (b) shows the exception handler you set for it, there is no way to
deduce what is going on.
joe

On Wed, 18 Jun 2008 04:11:01 -0700, PRMARJORAM <PRMARJORAM@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

Hi,

Im using VS 2005.
I have an MFC app using a few classes that solely use STL etc.
Some of these throw exceptions of std::exception type, but MFC is not
handling these?

In debug mode it breaks where exception thrown with message about 'unhandled
exception at....'

What is my problem?

Thanks in advance.

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: Question for Randy or Frank
    ... This is an HLA standard library facility. ... >> that you won't get under Windows. ... Then there's the "exception handling" approach to errors (which the HLA ... rather than solely "one big exception handler" wrapping the entire program ...
    (alt.lang.asm)
  • Re: Structured Exception Handling (was: Try Finally...)
    ... >> exception handlers and termination handlers. ... >> exception filtering, except clauses, and finally clauses, is up to ... > exception handler related to the stopping exception filter. ...
    (comp.lang.pascal.delphi.misc)
  • StackWalk behaviour
    ... I am adding an exception handler to certain of our build configurations ... actually dump the callstack for each thread. ... the second and third seemed to result in a valid callstack. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Practical error/exception handling...
    ... > try-except blocks until they reach the exception handler that really ... > If you have a catch-all exception handler, ... > the stack to the next exception handler. ... Raptor squirms in seat, ...
    (alt.comp.lang.borland-delphi)
  • Re: Try Finally...
    ... >> exception handler procedure was set in sysutils.pas. ... > none of which are provided by the current Delphi exception handlers. ... so you have no problem writing your own exception handler. ... exception handling right. ...
    (comp.lang.pascal.delphi.misc)