Skip to main content

Diigo Home

try-except Statement (C++) - The Diigo Meta page

msdn.microsoft.com/...s58ftw19(VS.80).aspx - Cached - Annotated View

H.C. Chen's personal annotations on this page

hcchen
Hcchen bookmarked on 2009-01-20 msdn tech microsoft programming

__try __except C C++ programming

  • EXCEPTION_CONTINUE_EXECUTION (–1)
  • EXCEPTION_CONTINUE_SEARCH (0)
    • hcchen
      Hcchen on 2009-01-20
      This value means : "I don't handle this exception code. Please ask others."
      Then the __except clause will not be executed I guess.
  • expression (called the filter expression)
    • hcchen
      Hcchen on 2009-01-20
      use GetExceptionCode and GetExceptionInformation to come out a value that tells __except what to do. If the value is 1 (EXCEPTION_EXECUTE_HANDLER) then run the __except clause.
  • AbnormalTermination is available within a termination handler. It returns 0 if the body of the try-finally statement terminates sequentially.
    • hcchen
      Hcchen on 2009-01-20
      Was there any exception happened? This is a question in __finally clause. So we have this function to answer that question.

This link has been bookmarked by 1 people . It was first bookmarked on 20 Jan 2009, by H.C. Chen.

  • 20 Jan 09
    hcchen
    H.C. Chen

    __try __except C C++ programming

    msdn tech microsoft programming

    • EXCEPTION_CONTINUE_EXECUTION (–1)
    • EXCEPTION_CONTINUE_SEARCH (0)
      • H.C. Chen

        H.C. Chen on 2009-01-20

        This value means : "I don't handle this exception code. Please ask others."
        Then the __except clause will not be executed I guess.

    • 2 more annotations...