資源簡介
CExceptionLogger,是一個可以免費使用的C++類,用它可以截獲未處理異常,如:非法存取、棧溢出、被零除等,并可以將異常詳細信息記錄到日志文件......
代碼片段和文件信息
/*??
Module?:?EXCEPTHANDLER.CPP
Purpose:?Implementation?for?a?class?which?intercepts?and?logs?details?about?unhandled?exceptions
?????????such?as?access?violations?stack?overflows?and?division?by?zero.
?????????The?class?is?based?upon?the?February?2002?MSDN?article?called?“Under?the?Hood:?Improved
?????????Error?Reporting?with?DBGHELP?5.1?by?Matt?Pietrek.?
?????????To?compile?the?class?you?need?the?November?2002?Platform?SDK?or?later?installed.
?????????You?can?add?the?ExceptHandler.cpp/h?files?directly?to?your?C++?project?or?put?the?exception
?????????handler?class?in?a?DLL?and?arrange?for?your?app?/?dll?to?get?it?installed?via?a?LoadLibrary
?????????call.
?????????A?binary?version?of?the?ExceptHandler?is?provided?in?the?XCPTHLR.DLL?which?is?included
?????????in?this?distr
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄??????????0??2004-07-27?12:31??介紹一個專門處理C++異常的類和例子
?????目錄??????????0??2004-07-27?12:31??介紹一個專門處理C++異常的類和例子\Crasher
?????文件????????140??2002-03-06?15:33??介紹一個專門處理C++異常的類和例子\Crasher\StdAfx.h
?????文件???????2530??2002-03-14?13:18??介紹一個專門處理C++異常的類和例子\Crasher\crasher.cpp
?????文件???????4072??2002-03-14?13:15??介紹一個專門處理C++異常的類和例子\Crasher\crasher.dsp
?????文件????????205??2002-03-05?12:26??介紹一個專門處理C++異常的類和例子\StdAfx.cpp
?????文件????????178??2002-03-06?18:04??介紹一個專門處理C++異常的類和例子\StdAfx.h
?????文件???????3144??2002-03-14?13:16??介紹一個專門處理C++異常的類和例子\ExceptHandler.h
?????文件????????411??2002-03-14?13:20??介紹一個專門處理C++異常的類和例子\resource.h
?????文件???????6622??2002-03-14?13:22??介紹一個專門處理C++異常的類和例子\XCPTHLR.dsp
?????文件????????734??2002-03-14?13:17??介紹一個專門處理C++異常的類和例子\XCPTHLR.dsw
?????文件??????34477??2002-03-14?13:36??介紹一個專門處理C++異常的類和例子\ExceptHandler.cpp
?????文件???????2627??2002-03-14?13:39??介紹一個專門處理C++異常的類和例子\XCPTHLR.RC
?????目錄??????????0??2004-07-27?12:31??介紹一個專門處理C++異常的類和例子\Release
?????文件??????53315??2002-03-14?22:54??介紹一個專門處理C++異常的類和例子\Release\Crasher.exe
?????文件?????132096??2002-03-14?22:54??介紹一個專門處理C++異常的類和例子\Release\Crasher.pdb
?????文件??????73728??2002-03-14?22:54??介紹一個專門處理C++異常的類和例子\Release\XCPTHLR.dll
?????文件???????3189??2004-04-19?10:52??代碼中國.txt
?????文件????????126??2004-04-03?17:45??代碼中國.url
?????文件???????3930??2003-11-05?18:50??說明.htm
-----------?---------??----------?-----??----
???????????????321524????????????????????20
評論
共有 條評論