EurekaLog newsgroups
Go Back   EurekaLog newsgroups > Support > General
Reply
 
Thread Tools Display Modes
  #1  
Old 28-Jun-2006, 07:17 PM
braindead0 braindead0 is offline
Member
 
Join Date: Mar 2006
Posts: 46
Default Delphi TApplication.OnException never called?

With our previous exception logger (ExRsHook), we still could setup a global event handler per application via Application.OnException, that seems to not be the case with EurekaLog.

Is there any setting that would allow Application.OnException to be called prior to EurekaLog handling the exception? Or is our only choice 'moving' the custom exception handling into a ExceptionNotify event?
Reply With Quote
  #2  
Old 29-Jun-2006, 10:52 AM
admin
Guest
 
Posts: n/a
Default Re: Delphi TApplication.OnException never called?

Hi,

braindead0 wrote:
> With our previous exception logger (ExRsHook), we still could setup a
> global event handler per application via Application.OnException, that
> seems to not be the case with EurekaLog.
>
> Is there any setting that would allow Application.OnException to be
> called prior to EurekaLog handling the exception? Or is our only
> choice 'moving' the custom exception handling into a ExceptionNotify
> event?


Currently if you use EurekaLog then the Application.OnException event will never
be called.

You can force EurekaLog to handle the exception via Application.OnException
event setting Handle parameter of the OnExceptionNotify EurekaLog event to False.

Otherwise you can call Application.OnException event into the EurekaLog
OnExceptionNotify event.

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!
Reply With Quote
  #3  
Old 29-Jun-2006, 12:50 PM
braindead0 braindead0 is offline
Member
 
Join Date: Mar 2006
Posts: 46
Default

Thanks, I worked around it by calling Application.OnException (when assigned) in our eurekalog notify event. Seems to work well.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:39 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © EurekaLab s.a.s. - VAT ID: IT05554520824