Article View: borland.public.cppbuilder.database.ado
Article #4839Re: ADO connection and code guard
From: Jurko
Date: Thu, 13 Sep 2001 15:26
Date: Thu, 13 Sep 2001 15:26
34 lines
1615 bytes
1615 bytes
A known bug... got ADO Connection it can be evaded...
just use
connection->Connected = true;
instead of
connection->Open();
and the error message will go away...
there are other similar errors thet can't be whisked away as
easily.... for example when you create a new TADODataSet
like this
TADODataSet* dset( TADODataSet(NULL) );
you get a similar error message.
HTH,
Jurko
"Jeffery" <jeffery_huang@hotmail.com> wrote in message
news:3b9f6f02_2@dnews...
> Hi!
> I write a db program use ADO connection object!
> connection->open() will cault code guard error!
> but I cannot find the error out!
> does anyone know why?
>
> Regard,
> Jeffery
>
>
Technical Details
Message-ID:
<3ba0d012$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3b9f6f02_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,b09aa2bfeb571eb6 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-09-13 08:42:56 PST Reply-To: "Jurko" <Jurko@ve-mil.hr> From: "Jurko" <Jurko@ve-mil.hr> Newsgroups: borland.public.cppbuilder.database.ado References: <3b9f6f02_2@dnews> Subject: Re: ADO connection and code guard Date: Thu, 13 Sep 2001 17:26:02 +0200 Lines: 36 Organization: Ve-mil X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 195.29.221.130 Message-ID: <3ba0d012$1_1@dnews> X-Trace: dnews 1000394770 195.29.221.130 (13 Sep 2001 08:26:10 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews