🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: msado15.dll bug

#3201
From: Vassiliev V.V.
Date: Thu, 05 Dec 2002 11:42
38 lines
2250 bytes
Try use ADOCommand with edExecuteNoRecords in ExecuteOptions instead of
TADOQuery for SQL statements that do not return records (better) or recreate
TADOQuery every time you change SQL statement.

----------------------------------------------------------------
Regards,
Viatcheslav V. Vassiliev
http://www.oledbdirect.com
The fastest way to access MS SQL Server, MS Jet (MS Access)
and Interbase (LCPI provider) databases.

"Jozef Bartek" <bartek@loiweb.com> �������/�������� � �������� ���������:
news:3def1c7f@newsgroups.borland.com...
> Hi,
>
>   Does anybody knows about the bug in newer versions of msado15.dll?
> I have BCB6 project using ADO DB connection and the following code:
> ADOQuery1->Close();
> ADOQuery1->SQL->Text = "Select ...";
> ...
> ADOQuery1->Open();
>
> ADOQuery1->Close();
> ADOQuery1->SQL->Text = "Update ...";
> ADOQuery1->ExecSQL();
>
> With msado15.dll versions 2.52 and 2.53 this code runs without any
problem,
> but with version 2.70 /installed with Win XP/ it causes "Access violation
> ... in msado15.dll ..." error.
>
> Does anybody know, where is a problem or if it's bug of new version.
>
> Thanks,
>
> Jozef
>
>
Technical Details
Message-ID: <3def3eeb@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3def1c7f@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,ba249fd58e67df6a
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-12-05 04:08:54 PST
From: "Vassiliev V.V." <news@vassilievvv.mtu-net.ru>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3def1c7f@newsgroups.borland.com>
Subject: Re: msado15.dll bug
Date: Thu, 5 Dec 2002 14:42:06 +0300
Lines: 40
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 212.188.100.183
Message-ID: <3def3eeb@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1039089387 212.188.100.183 (5 Dec 2002 03:56:27 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail