Chapter 14. Error Detection and Exception Handling Techniques

by Andrew J. Indovina

In This Chapter

Exceptions are generated when an unexpected event occurs and causes your program to execute abnormally, disrupting its capability to proceed normally, if at all. These events are caused by hardware or software exceptions.

In this chapter, you will look at the three mechanisms of exception handling that Visual C++ 6.0 supports:

  • Structured exception handling (SEH) used mainly in C programs for Windows NT

  • C++ exception handling

  • MFC exception handling

In this chapter, you'll examine the basic concepts behind structured exception handling and its use. You'll look at the basic ...

Get Visual C++® 6 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.