Results 1 to 5 of 5

Thread: Crash gracefully: How to ignore microsoft abort dialog?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2006
    Posts
    426
    Thanks
    8
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Crash gracefully: How to ignore microsoft abort dialog?

    Hi,

    I have finally implemented exception handler rasied by operating system (such as SEGV or abort) and ignore it, so that the GUI application can continue instead of crashing the application. That works in both Linux and Windows.

    However, there is a problem with Windows version when test with "abort()", that the Window libraries intercept the abort() before my signal handler can intercept it, which pop up a dialog as shown in the attachment (first figure). After I clik "Retry", it will then get to my exception handler and ignore the signal (second figure)...

    Does anyone know how to prevent microsoft library from intercepting the abort()?


    Thanks
    Attached Images Attached Images

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.