Re: Delphi ADO EOleException "An unknown error has occured"
- From: "Kevin Frevert" <kevin@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 Oct 2007 07:17:13 -0500
Because there is code somewhere that is..
try
{do some action}
except
on E:EOleException do
begin
{Code to handle the exception}
end;
end;
You will see the exception running the app in the IDE, but not in the
application.
Good luck,
krf
"Aaron Gnome" <gnone@xxxxxxxxx> wrote in message
news:47284b2b@xxxxxxxxxxxxxxxxxxxxxxxxx
So back to my original question: Why does the IDE flag the error but not
the
application?
"Bill Todd" <no@xxxxxx> wrote in message
news:472782ff$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Aaron Gnome wrote:
If you're looking for a real EOleException, the ones generated by
this problem get in the way.
Unfotunately there is no solution to this. As Kevin said, this
exception is raised and trapped in a try/except by design in the ADO
component code. There is no way to tell the debugger to ignore the
exception if it is raised on one module but not in another.
--
Bill Todd (TeamB)
.
- Follow-Ups:
- Re: Delphi ADO EOleException "An unknown error has occured"
- From: Aaron Gnome
- Re: Delphi ADO EOleException "An unknown error has occured"
- References:
- Delphi ADO EOleException "An unknown error has occured"
- From: Aaron Gnome
- Re: Delphi ADO EOleException "An unknown error has occured"
- From: Kevin Frevert
- Re: Delphi ADO EOleException "An unknown error has occured"
- From: Aaron Gnome
- Re: Delphi ADO EOleException "An unknown error has occured"
- From: Bill Todd
- Re: Delphi ADO EOleException "An unknown error has occured"
- From: Aaron Gnome
- Delphi ADO EOleException "An unknown error has occured"
- Prev by Date: Re: Delphi ADO EOleException "An unknown error has occured"
- Next by Date: Re: Delphi ADO EOleException "An unknown error has occured"
- Previous by thread: Re: Delphi ADO EOleException "An unknown error has occured"
- Next by thread: Re: Delphi ADO EOleException "An unknown error has occured"
- Index(es):
Relevant Pages
|