Invoke component methods  Using an ActiveX error handler

Chapter 20: Creating ActiveX Clients

Code exception handling

Always make sure that your application handles exceptions gracefully. At minimum, you should display the exception text, which will aid debugging.

Errors in ActiveX proxy execution can be handled as ActiveX exceptions, or inline using a try/catch model similar to the structured exception handling model in the C++ and Java languages.





Copyright © 2005. Sybase Inc. All rights reserved. Using an ActiveX error handler

View this book as PDF