The information in this article applies to:
SUMMARYUntrapped errors in any events (like Initialize and Terminate) in an in-process OLE DLL server created in Visual Basic will cause it to terminate the whole process. MORE INFORMATION
If you don't have an On Error Goto statement inside an Event procedure in
an in-process OLE DLL server created in Visual Basic and an error occurs
inside the event procedure, Visual Basic will call the ExitProcess Windows
API to terminate the process that loaded the DLL. This will happen
regardless of the Error trapping setting on the Advanced tab when you click
Options on the Tools menu and regardless of whether the client is running
in the Visual Basic IDE or as a separate EXE. Additional query words: 4.00 inproc inprocess vb4win vb4all
Keywords : IAPOLE |
Last Reviewed: September 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |