PDA

View Full Version : phantom EOLEException


davec_ias
10-May-2005, 01:02 AM
I have a strange situation. Basically in my FormActivate handler an EOLEException resulting from a TADOQuery.Open() call is being ignored by EurekaLog. The debugger will stop on the exception, but if I continue, the application just goes back into its event loop without the Eureka handler doing anything (I've tried the defaul Eureka handler and a derived one I use normally). When I disable EurekaLog, the exception causes the normal delphi exception handling with the simple dialog. If I manually raise an Exception on the line before, Eureka catches it. Even stranger, if I perform:

try
query.open
except
raise Exception.Create('different exception');
end;

Eureka will catch it, but if I do

try
query.open
except
raise;
end;

Eureka does not catch it. The exception is happening because I attempt to run a query which references columns that do not exist in the database. Any ideas?

Dave

davec_ias
10-May-2005, 10:41 PM
In the case I outlined that worked, Eureka catches the "Different Exception" object, not the original exception, in case it wasn't clear. Nothing I do will make it catch the original EOleException.

admin
11-May-2005, 02:06 PM
In the case I outlined that worked, Eureka catches the "Different Exception" object, not the original exception, in case it wasn't clear. Nothing I do will make it catch the original EOleException.

Try the last EurekaLog 4.6.7 RC 2 at: http://www.eurekalog.com/login.php

davec_ias
12-May-2005, 04:46 PM
This newest version seems to fix the problem.

admin
12-May-2005, 05:28 PM
This newest version seems to fix the problem.

Perfect! :-)