Thanks akaSurreal!
I tried the suggestion (no TApplicationEvents component in D4 so I had to implement the OnException event by hand) but, as you said, It doesn't handle already handled exceptions. The thing is that in the app I work on some are trapped and some aren't. I need to catch ALL of them in a single place.
Any hint ?
Main Topics
Browse All Topics





by: akaSurrealPosted on 2003-04-28 at 13:27:07ID: 8415277
Look at
OnException event (TApplication)
Occurs when an unhandled exception occurs in the application.
Note: You can also respond to this event using the TApplicationEvents component, which allows you to assign an event handler using the IDE.
Mike