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
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