Below a message I send to ODAC support (www.crlab.com), does this problem ring a bell with any of the MadExcept users (not necessarily together with ODAC)?
Quote:
(Delphi 5, ODAC 5.10.1.7)
I'm using MadExcept since a few weeks and it looks like there be some problems with Odac 5.10.1.x and MadExcept or I'm just making misstakes, however: using Odac 3.90 takes away the problem.
Situation (pseudo code):
Procedure processqueryB
Begin
QueryB.Close
Try
...
QueryB.Insert;
...
QueryB.Post;
Except
On E:EDatabaseError do // sometimes an exception
... // (trigger generated with raise_application_error)
...
end
End
Procedure MainLoop
..
While not QueryA.Eof do
Begin
ProcessQueryB
Next; // <-- program crash!!
End
Question:
Are there any known problems that could explain this problem?
Regards,
Martin
MadExcept and ODAC
I'm sorry, I was able to reproduve the problem without MadExcept, seem to be ODAC related.madshi wrote:What kind of crash do you get? Dr. Watson? Or do you get a madExcept exception box? And the problem goes away if you remove madExcept?
The program altogether disappears (stop running) without MadExcept being able to intercept the exception (not even sure an exception is raised)
Nevertheless, I think I'll be ordering MadExcept this week.
regards,
Martin