Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to avoid Application failure or ASSERT Dialog when application crash.

How to avoid Application failure or ASSERT Dialog when application crash.

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialannouncement
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Atif Mushtaq
    wrote on last edited by
    #1

    Hi Every one How to avoid Application failure or ASSERT Dialog when application crash. I dont want famouse Cancel , Retry ,Abort or simple Ok , Cancel Dialog in release mode , to come up . I want whenever any thing goes wrong , my application simply exit.no intimation to user . EXIT on ERROR silently is what i want. can anybody help.... No Worries!

    P P 2 Replies Last reply
    0
    • A Atif Mushtaq

      Hi Every one How to avoid Application failure or ASSERT Dialog when application crash. I dont want famouse Cancel , Retry ,Abort or simple Ok , Cancel Dialog in release mode , to come up . I want whenever any thing goes wrong , my application simply exit.no intimation to user . EXIT on ERROR silently is what i want. can anybody help.... No Worries!

      P Offline
      P Offline
      Prakash Nadar
      wrote on last edited by
      #2

      First of all you wont have that famouse window in the release build. To catch all the errors and simple get out, you can do this. put a try catch around the message pump, and in the catch terminate the program :-) Regards, Prakash. The World is getting smaller and so are the people.

      1 Reply Last reply
      0
      • A Atif Mushtaq

        Hi Every one How to avoid Application failure or ASSERT Dialog when application crash. I dont want famouse Cancel , Retry ,Abort or simple Ok , Cancel Dialog in release mode , to come up . I want whenever any thing goes wrong , my application simply exit.no intimation to user . EXIT on ERROR silently is what i want. can anybody help.... No Worries!

        P Offline
        P Offline
        Patje
        wrote on last edited by
        #3

        Last summer we had similar problems. Finally I bought the book "Debugging Applications for Microsoft .Net and Microsoft Windows", written by John Robbins. You should find this at Amazon. Also take a look at the www.wintellect.com[^] website, the employer of John Robbins, a company specialized in debugging. Also take a look at the CodeProject articles in the Debug Tips section (http://www.codeproject.com/debug/[^]). Some of the articles mention how to catch application crashes. Enjoy life, this is not a rehearsal !!!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups