Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode OS program
Title: ExceptionHandle Download
 Description: Preventing application crash by using exception handling mechanism. The ExceptionTest project example demonstrate how to avoid application crash, by using the __try and __except statements. When you run the sample, you get a dialog-box containing 2 buttons that deliberately causes an exception. The first button raises the exception without exception handling block, and this causes the application to crash immediately. The second button raises the exception from within a __try block. When the exception is occurred, the function inside the __except statement (GetExceptionInformation) is called. This function displays a special dialog-box with a little information about the exception, and allow the user to decide whether he wants to continue to run the program or to terminate it.
 Downloaders recently: [More information of uploader kickthc]
 To Search:
File list (Check if you may need any files):
ExceptionHandle\ExceptionTest.dsp
...............\ExceptionTest.dsw
...............\main.cpp
...............\myexcep.cpp
...............\myexcep.h
...............\resource.h
...............\Script1.aps
...............\Script1.rc
ExceptionHandle
    

CodeBus www.codebus.net