Thanks Bart. I put in my handler for Application.OnException. So far
so good. I'll keep any eye on the log to see if there are any
exceptions that I should not handle.

Tuesday, November 13, 2007, 6:15:09 PM, you wrote:

> Jack,

> There is the Application.OnException event handler which might be
> of help. There are some caveats, though: it might intercept
> exceptions that would be better handled elsewhere, and it might
> still not catch an exception raised by a COM object. Of course, you
> could programmatically set the OnApplication event to your handler
> before the block in which the exception might be raised and to nil
> afterwards, to help the first issue. 
> However, I've had a problem with a third-party COM image viewer
> that, when it encountered a badly-formed GIF file, immediately
> crashed the Delphi application with no visible exception or warning:
> one second it was running, the next, gone, which seems worse
> behavior than Skye4COM.

> http://www.chami.com/tips/delphi/011497D.html

> Bart


_______________________________________________
Delphi mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to