亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? log.cpp

?? vc ADO 連接數(shù)據(jù)庫
?? CPP
?? 第 1 頁 / 共 2 頁
字號:
            case CArchiveException::badSchema:
                Log( _T("\t Cause = BadSchema (Tried to read an object with a different version of the class)." ) );
                break;
            default:
                Log( _T("\t Cause = Uknown)." ) );
            }
        }

        if ( e->IsKindOf( RUNTIME_CLASS( CFileException ) ) == TRUE )
        {
            CFileException *eFile = (CFileException *) e;

            switch( eFile->m_cause )
            {
            case CFileException::none:
                Log( _T("\t Cause = None (No error occurred.)") );
                break;
            case CFileException::generic:
                Log( _T("\t Cause = Generic (An unspecified error occurred.)") );
                break;
            case CFileException::fileNotFound:
                Log( _T("\t Cause = FileNotFound (The file could not be located.)") );
                break;
            case CFileException::badPath:
                Log( _T("\t Cause = BadPath (All or part of the path is invalid.)") );
                break;
            case CFileException::tooManyOpenFiles:
                Log( _T("\t Cause = TooManyOpenFiles (The permitted number of open files was exceeded.)") );
                break;
            case CFileException::accessDenied:
                Log( _T("\t Cause = AccessDenied (The file could not be accessed.)") );
                break;
            case CFileException::invalidFile: 
                Log( _T("\t Cause = InvalidFile (There was an attempt to use an invalid file handle.)") );
                break;
            case CFileException::removeCurrentDir:
                Log( _T("\t Cause = RemoveCurrentDir (The current working directory cannot be removed.)") );
                break;
            case CFileException::directoryFull:
                Log( _T("\t Cause = DirectoryFull (There are no more directory entries.)") );
                break;
            case CFileException::badSeek:
                Log( _T("\t Cause = BadSeek (There was an error trying to set the file pointer.)") );
                break;
            case CFileException::hardIO: 
                Log( _T("\t Cause = HardIO (There was a hardware error.)") );
                break;
            case CFileException::sharingViolation:
                Log( _T("\t Cause = SharingViolation (SHARE.EXE was not loaded, or a shared region was locked.)") );
                break;
            case CFileException::lockViolation:
                Log( _T("\t Cause = LockingViolation (There was an attempt to lock a region that was already locked.)") );
                break;
            case CFileException::diskFull:
                Log( _T("\t Cause = DiskFull (The disk is full.)") );
                break;
            case CFileException::endOfFile:
                Log( _T("\t Cause = EndOfFile (The end of file was reached.)") );
                break;
            default:
                Log( _T("\t Cause = Unrecognized Cause (Unknown.)") );
            }
        }

        if ( e->IsKindOf( RUNTIME_CLASS( COleException ) ) == TRUE )
        {
            COleException *eOle = (COleException *) e;

            Log( _T("\t SCODE = %ld"), eOle->m_sc );
        }

        if ( e->IsKindOf( RUNTIME_CLASS( COleDispatchException ) ) == TRUE )
        {
            // Makes things a lot cleaner below
            COleDispatchException *eOleDisp = (COleDispatchException *) e;

            // Indicate Exception Cause
            Log( _T("\t IDispatchErr:\t %ld"), eOleDisp->m_wCode );
            Log( _T("\t Description:\t %s"),   (LPCTSTR) eOleDisp->m_strDescription );
            Log( _T("\t HlpFile:\t %s"),       (LPCTSTR) eOleDisp->m_strHelpFile );
            Log( _T("\t HlpContext:\t %ld"),   eOleDisp->m_dwHelpContext );
            Log( _T("\t Application:\t %ld"),  eOleDisp->m_strSource );
        }
    }
    catch( CException *e2 )
    {
        Log( _T("MFC Exception was generated during logging of MFC Exception") );
        e2->Delete();
    }
    catch( SEH_Exception )
    {
        Log( _T("Win32 Exception was generated during logging of MFC Exception") );
    }
    catch(...)
    {
        Log( _T("Unidentified Exception was generated during logging of MFC Exception") );
    }

    // Delete Exception
    e->Delete();

    // Let user know we failed!
    if ( bVerbose == TRUE )
        AfxMessageBox( _T("OPERATION FAILED:  See Errors for details.") );
}
       

void LogException
(
    SEH_Exception &e,               // Win32 SEH Class
    LPCSTR        lpszTimeStamp,    // Date & Time    
    LPCSTR        lpszFile,         // File Name
    int           nLine             // Line #
)
{
    Log( _T("Win32 Structured Exception thrown:") );
    Log( STR_FILE,          (LPCTSTR) lpszFile );
    Log( _T("\t LINE #%d"), nLine );
    Log( STR_TIME,          (LPCTSTR) lpszTimeStamp );

    LogExceptionEx( e );
}

void LogException
(
    SEH_Exception &e                // Win32 SEH Class
)
{
    // Just in case exception handling code throws an exception
    Log( _T("Win32 Structured Exception thrown:") );

    LogExceptionEx( e );
}

static void LogExceptionEx
(
    SEH_Exception &e                // Win32 SEH Class
)
{
    // Just in case exception handling code throws an exception
    try
    {
        switch( e.getSeHNumber() )
        {
        case EXCEPTION_ACCESS_VIOLATION:
            Log( _T("\t EXCEPTION_ACCESS_VIOLATION:  The thread attempted to read from or write to a virtual address for which it does not have the appropriate access.") );
            break;
        case EXCEPTION_BREAKPOINT:
            Log( _T("\t EXCEPTION_BREAKPOINT:  A breakpoint was encountered.") );
            break;
        case EXCEPTION_DATATYPE_MISALIGNMENT:
            Log( _T("\t EXCEPTION_DATATYPE_MISALIGNMENT:  The thread attempted to read or write data that is misaligned on hardware that does not provide alignment. For example, 16-bit values must be aligned on 2-byte boundaries, 32-bit values on 4-byte boundaries, and so on.") );
            break;
        case EXCEPTION_SINGLE_STEP:
            Log( _T("\t EXCEPTION_SINGLE_STEP:  A trace trap or other single-instruction mechanism signaled that one instruction has been executed.") );
            break;
        case EXCEPTION_ARRAY_BOUNDS_EXCEEDED:
            Log( _T("\t EXCEPTION_ARRAY_BOUNDS_EXCEEDED:  The thread attempted to access an array element that is out of bounds, and the underlying hardware supports bounds checking.") );
            break;
        case EXCEPTION_FLT_DENORMAL_OPERAND:
            Log( _T("\t EXCEPTION_FLT_DENORMAL_OPERAND:  One of the operands in a floating-point operation is denormal. A denormal value is one that is too small to represent as a standard floating-point value.") );
            break;
        case EXCEPTION_FLT_DIVIDE_BY_ZERO:
            Log( _T("\t EXCEPTION_FLT_DIVIDE_BY_ZERO:  The thread attempted to divide a floating-point value by a floating-point divisor of zero.") );
            break;
        case EXCEPTION_FLT_INEXACT_RESULT:
            Log( _T("\t EXCEPTION_FLT_INEXACT_RESULT:  The result of a floating-point operation cannot be represented exactly as a decimal fraction.") );
            break;
        case EXCEPTION_FLT_INVALID_OPERATION:
            Log( _T("\t EXCEPTION_FLT_INVALID_OPERATION:  This exception represents any floating-point exception not included in this list.") );
            break;
        case EXCEPTION_FLT_OVERFLOW:
            Log( _T("\t EXCEPTION_FLT_OVERFLOW:  The exponent of a floating-point operation is greater than the magnitude allowed by the corresponding type.") );
            break;
        case EXCEPTION_FLT_STACK_CHECK:
            Log( _T("\t EXCEPTION_FLT_STACK_CHECK:  The stack overflowed or underflowed as the result of a floating-point operation.") );
            break;
        case EXCEPTION_FLT_UNDERFLOW:
            Log( _T("\t EXCEPTION_FLT_UNDERFLOW:  The exponent of a floating-point operation is less than the magnitude allowed by the corresponding type.") );
            break;
        case EXCEPTION_INT_DIVIDE_BY_ZERO:
            Log( _T("\t EXCEPTION_INT_DIVIDE_BY_ZERO:  The thread attempted to divide an integer value by an integer divisor of zero.") );
            break;
        case EXCEPTION_INT_OVERFLOW:
            Log( _T("\t EXCEPTION_INT_OVERFLOW:  The result of an integer operation caused a carry out of the most significant bit of the result.") );
            break;
        case EXCEPTION_PRIV_INSTRUCTION:
            Log( _T("\t EXCEPTION_PRIV_INSTRUCTION:  The thread attempted to execute an instruction whose operation is not allowed in the current machine mode.") );
            break;
        case EXCEPTION_NONCONTINUABLE_EXCEPTION:
            Log( _T("\t EXCEPTION_NONCONTINUABLE_EXCEPTION:  The thread attempted to continue execution after a noncontinuable exception occurred.") );
            break;
        case EXCEPTION_IN_PAGE_ERROR:
            Log( _T("\t EXCEPTION_IN_PAGE_ERROR:  The thread tried to access a page that was not present, and the system was unable to load the page. For example, this exception might occur if a network connection is lost while running a program over the network.") );
            break;
        case EXCEPTION_ILLEGAL_INSTRUCTION:
            Log( _T("\t EXCEPTION_ILLEGAL_INSTRUCTION:  The thread tried to execute an invalid instruction.") );
            break;
        case EXCEPTION_STACK_OVERFLOW:
            Log( _T("\t EXCEPTION_STACK_OVERFLOW:  The thread used up its stack.") );
            break;
        case EXCEPTION_INVALID_DISPOSITION:
            Log( _T("\t EXCEPTION_INVALID_DISPOSITION:  An exception handler returned an invalid disposition to the exception dispatcher. Programmers using a high-level language such as C should never encounter this exception.") );
            break;
        case EXCEPTION_GUARD_PAGE:
            Log( _T("\t EXCEPTION_GUARD_PAGE:  A very deep and not well documented Windows Memory Management error has occured.") );
            break;
        case EXCEPTION_INVALID_HANDLE:
            Log( _T("\t EXCEPTION_INVALID_HANDLE:  A very deep and not well documented Windows Memory Management error has occured.") );
            break;
        default:
            Log( _T("\t Unknown Win32 Exception Code" ) );
            break;
        }
    }
    catch( CException *e2 )
    {
        Log( _T("MFC Exception was generated during logging of Win32 Structured Exception") );
        e2->Delete();
    }
    catch( SEH_Exception )
    {
        Log( _T("Win32 Exception was generated during logging of Win32 Structured Exception") );
    }
    catch(...)
    {
        Log( _T("Unidentified Exception was generated during logging of Win32 Structured Exception") );
    }

    // Let user know we failed
    if ( bVerbose == TRUE )
        AfxMessageBox( _T("OPERATION FAILED:  See Errors for details.") );
}

    

#if _MSC_VER >= 1100
    void LogException
    ( 
        _com_error    &e,               // #import excep class
        LPCSTR        lpszTimeStamp,    // Date & Time    
        LPCSTR        lpszFile,         // File Name
        int           nLine        
    )
    {
        Log( _T("_com_error Exception thrown for classes generated by #import") );
        Log( STR_FILE,          (LPCTSTR) lpszFile );
        Log( _T("\t LINE #%d"), nLine );
        Log( STR_TIME,          (LPCTSTR) lpszTimeStamp );

        LogExceptionEx( e );
    }

    void LogException
    ( 
        _com_error    &e               // #import excep class
    )
    {
        Log( _T("_com_error Exception thrown for classes generated by #import") );

        LogExceptionEx( e );
    }

    static void LogExceptionEx( _com_error &e )
    {
        try
        {
            _bstr_t bstrSource(e.Source());
            _bstr_t bstrDescription(e.Description());

            Log( _T("\tCode = %08lx"), e.Error());
            Log( STR_MEANING,            e.ErrorMessage());
            Log( STR_SOURCE,             (LPCTSTR) bstrSource);
            Log( STR_DESCRIPTION,        (LPCTSTR) bstrDescription);
        }
        catch( CException *e2 )
        {
            Log( _T("MFC Exception was generated during logging of Unidentified Exception") );
            e2->Delete();
        }
        catch( SEH_Exception )
        {
            Log( _T("Win32 Exception was generated during logging of Unidentified Exception") );
        }
        catch(...)
        {
            Log( _T("Unidentified Exception was generated during logging of Unidentified Exception") );
        }

        // Let user know we failed
        if ( bVerbose == TRUE )
            AfxMessageBox( _T("OPERATION FAILED:  See Errors for details.") );

    }
#endif
        
void LogException( void )
{
    try
    {
        Log( _T("Unidentified Exception thrown") );
    }
    catch( CException *e2 )
    {
        Log( _T("MFC Exception was generated during logging of Unidentified Exception") );
        e2->Delete();
    }
    catch( SEH_Exception )
    {
        Log( _T("Win32 Exception was generated during logging of Unidentified Exception") );
    }
    catch(...)
    {
        Log( _T("Unidentified Exception was generated during logging of Unidentified Exception") );
    }

    // Let user know we failed
    if ( bVerbose == TRUE )
        AfxMessageBox( _T("OPERATION FAILED:  See Errors for details.") );
}

void LogException
(
    LPCSTR        lpszTimeStamp,    // Date & Time    
    LPCSTR        lpszFile,         // File Name
    int           nLine             // Line #
)
{
    try
    {
        Log( _T("Unidentified Exception thrown") );
        Log( STR_FILE,          (LPCTSTR) lpszFile );
        Log( _T("\t LINE #%d"), nLine );
        Log( STR_TIME,          (LPCTSTR) lpszTimeStamp );
    }
    catch( CException *e2 )
    {
        Log( _T("MFC Exception was generated during logging of Unidentified Exception") );
        e2->Delete();
    }
    catch( SEH_Exception )
    {
        Log( _T("Win32 Exception was generated during logging of Unidentified Exception") );
    }
    catch(...)
    {
        Log( _T("Unidentified Exception was generated during logging of Unidentified Exception") );
    }

    // Let user know we failed
    if ( bVerbose == TRUE )
        AfxMessageBox( _T("OPERATION FAILED:  See Errors for details.") );
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲第一搞黄网站| 欧美美女视频在线观看| 色综合久久88色综合天天6 | 国产成人一区在线| 午夜亚洲国产au精品一区二区| 国产精品私人自拍| 精品国产不卡一区二区三区| 99riav久久精品riav| 亚洲欧美日韩在线不卡| 欧美一级搡bbbb搡bbbb| 午夜成人免费视频| 91老司机福利 在线| 一区二区不卡在线视频 午夜欧美不卡在| 91美女片黄在线| 中文字幕一区二区不卡| 91精品国产91热久久久做人人| 国产精品女同一区二区三区| 国产乱子伦视频一区二区三区| 亚洲国产成人av| 91无套直看片红桃| www.久久精品| 欧美理论在线播放| 日本精品一区二区三区高清| 狠狠色2019综合网| 欧美激情资源网| 欧美日韩在线电影| 国产色产综合色产在线视频| 欧美综合欧美视频| 日韩高清一级片| 国产精品久线在线观看| 日韩电影一区二区三区| 日韩黄色免费网站| 精品国产乱码久久久久久蜜臀| 日韩欧美国产三级| www.激情成人| 粉嫩蜜臀av国产精品网站| 日韩欧美电影在线| a在线欧美一区| 亚洲视频一二区| av一区二区不卡| av激情成人网| 亚洲美女免费视频| 成人app在线观看| 成人黄页在线观看| 日韩欧美国产午夜精品| 美女看a上一区| 一区二区三区久久久| 成人午夜大片免费观看| 激情偷乱视频一区二区三区| 菠萝蜜视频在线观看一区| 99国产精品久久久久久久久久 | 亚洲人成网站影音先锋播放| 国产午夜精品久久久久久久| 欧美日韩国产色站一区二区三区| 成人污视频在线观看| 国产精品白丝av| 99精品在线免费| 亚洲成精国产精品女| 一本色道综合亚洲| 欧美国产日韩亚洲一区| 国产精品国产三级国产aⅴ原创| 91.com在线观看| 欧美性受xxxx| 91成人国产精品| 国产精品麻豆欧美日韩ww| 久久成人18免费观看| 美女在线视频一区| 夜夜嗨av一区二区三区| 麻豆精品国产传媒mv男同| 99久久久国产精品| 首页欧美精品中文字幕| 成人免费高清在线| 五月天欧美精品| 国产精品美日韩| 欧美一三区三区四区免费在线看| 美女诱惑一区二区| 国产91精品精华液一区二区三区| 精品99一区二区| 日韩欧美亚洲国产另类| 91在线播放网址| 亚洲男帅同性gay1069| 不卡的av中国片| 午夜精品福利在线| 久久精品欧美日韩精品| 欧美肥大bbwbbw高潮| 精品美女一区二区三区| 欧美videossexotv100| 奇米精品一区二区三区在线观看一 | 91丨国产丨九色丨pron| 一区二区三区欧美| 久久尤物电影视频在线观看| 91亚洲国产成人精品一区二区三 | 欧美中文字幕一区二区三区亚洲| 日本女人一区二区三区| 国产成人小视频| 午夜av区久久| 国产精品黄色在线观看| 欧美亚洲日本国产| 国产色综合一区| 成人午夜伦理影院| 亚洲精品高清视频在线观看| 欧美一区二区三区视频在线观看| 国产高清久久久久| 日韩欧美一级二级| 欧洲亚洲精品在线| 日本一区中文字幕| 久久午夜老司机| 91视频精品在这里| 自拍偷拍亚洲综合| 欧美亚洲愉拍一区二区| 国产一区不卡精品| 一区二区三区四区亚洲| 欧美成人免费网站| 免费观看久久久4p| 欧美精品一区二区久久婷婷| 欧美日韩国产另类一区| 中文欧美字幕免费| 天堂蜜桃一区二区三区| 午夜久久久久久久久| 99久久久久久| 日韩女优av电影在线观看| 欧美国产日韩亚洲一区| 久久精品99国产精品| 在线观看中文字幕不卡| 亚洲欧美激情在线| 亚洲成人激情综合网| 亚洲国产乱码最新视频| 国产精品成人免费在线| 亚洲国产精品成人综合| 国产精品视频在线看| 国产精品久久久久久久久动漫 | 国模一区二区三区白浆| 日韩久久一区二区| 一级精品视频在线观看宜春院| 久久久久综合网| 亚洲精品中文字幕在线观看| 99国产精品99久久久久久| 国产激情视频一区二区在线观看 | 欧美午夜一区二区三区免费大片| 91视频观看免费| 色婷婷av一区二区三区gif| 中文字幕国产一区| 国产91富婆露脸刺激对白 | 粉嫩av一区二区三区粉嫩 | 26uuu欧美| 日韩国产欧美在线视频| 欧美v日韩v国产v| 久久精品国产久精国产爱| 91免费在线视频观看| 欧美日韩国产系列| 国产精品黄色在线观看| 亚洲一区二区三区三| 一区二区激情视频| 蜜乳av一区二区| 成人精品免费视频| 666欧美在线视频| 亚洲线精品一区二区三区八戒| 日韩高清不卡一区| 国产成人午夜精品影院观看视频 | 粉嫩av一区二区三区在线播放| 成人黄页在线观看| 在线电影院国产精品| 日韩美女天天操| 亚洲欧美另类小说| 精品综合免费视频观看| 成人午夜激情视频| 成人a级免费电影| 日本电影欧美片| 91香蕉国产在线观看软件| 91麻豆精品国产自产在线观看一区 | 天堂在线亚洲视频| 精品一区二区三区蜜桃| 91在线播放网址| 日韩一本二本av| 亚洲欧洲成人自拍| 男女激情视频一区| 在线观看日韩毛片| ww久久中文字幕| 青青国产91久久久久久 | 欧美一级日韩免费不卡| 国产精品三级av在线播放| 午夜电影网一区| 在线看不卡av| 国产午夜精品久久久久久久| 老司机免费视频一区二区| 色综合天天视频在线观看| 精品视频999| 亚洲欧美日韩国产综合在线| 老色鬼精品视频在线观看播放| 欧美视频三区在线播放| 欧美国产禁国产网站cc| 国产久卡久卡久卡久卡视频精品| 在线精品观看国产| 亚洲一区在线看| 成人a区在线观看| 欧美一级片在线| 蜜桃久久久久久| 欧美日韩一区成人| 五月天精品一区二区三区| 色系网站成人免费|