🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #854

EADOError / EOleException

#854
From: Nerio
Date: Thu, 23 Jun 2005 13:53
12 lines
1488 bytes
Hi,
I'm using cppbuilder6 enterprise and up to now BDE and Paradox tables; now, 
started with ADO and Access databases, I have some troubles.
I would use a MyException routine to catch ADO and Ole DB errors but I do 
not succeed in doing that :
1) Application->OnException = MyException seems not to be relative to 
ADO/Ole exceptions
2) I do not know how declare MyException that is : void __fastcall 
TSomeForm::MyException(TObject .... and what ....) or __fastcall 
TSomeForm::MyException(and what ?)
Can you help me? Do you suggest other simplest methods to catch such errors?
Tnx Nerio
Technical Details
Message-ID: <42babecf@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,d5b39ae7d9f28ac8,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Nerio" <ne_serzanti@tin.it>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: EADOError / EOleException
Date: Thu, 23 Jun 2005 15:53:18 +0200
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 82.55.219.51
Message-ID: <42babecf@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119534799 82.55.219.51 (23 Jun 2005 06:53:19 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail