home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH16 / A162363.TXT < prev    next >
Encoding:
Text File  |  1993-11-25  |  314 b   |  6 lines

  1. The function myUnexpected() is a user-defined handler for
  2. unexpected exceptions.  It prints a message.  Then, it calls
  3. set_unexpected() with the function pointer "pfvOldUnexpected".  In
  4. this case, set-unexpected() reinstates the system-defined function
  5. unexpected().  Finally, myUnexpected() calls Process().
  6.