MadExcept and ODAC
Posted: Tue Aug 31, 2004 6:43 pm
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
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