Generating and Handling Errors
Guidelines for Raising Errors from Your Component
Handling Requests Pending to an ActiveX Component