Re: Delphi ADO EOleException "An unknown error has occured"
- From: "Aaron Gnome" <gnone@xxxxxxxxx>
- Date: Wed, 31 Oct 2007 13:44:42 -0000
And this code is not in the IDE but is in the application, or the other way around?
"Kevin Frevert" <kevin@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:4728720f$1@xxxxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxxxxSo 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@xxxxxxxxxxxxxxxxxxxxxxxxxAaron 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: Bill Todd
- 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
- Re: Delphi ADO EOleException "An unknown error has occured"
- From: Kevin Frevert
- 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
|