Relationships between Veh, SEH, Ueh, VCH in Windows exception handling

Source: Internet
Author: User

1. When the exception is referred to the user for processing, the exception handling method Veh-〉seh-〉vch is called in the following order.
2. When veh indicates that an exception was handled, it is not passed to SEH, but the exception is passed to VCH.
3. When the veh is not processed, it is passed to Seh.
4. When all the exception handlers for SEH are not able to handle the exception, the default Seh (that is, Ueh, only the SEH) handler function is invoked.
5. When SEH handles an exception and starts execution from except, the exception is no longer passed to VCH.
6. When Seh returns to the exception generation execution, VCH is called before returning.
Attention!!! In *unix, the signal is used to deal with it. So if you want to be compatible (like the compiler must implement two ways).

Relationships between Veh, SEH, Ueh, VCH in Windows exception handling

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.