Article View: borland.public.cppbuilder.database.ado
Article #4071CodeGuard and TADOConnection
From: Malvicmer
Date: Mon, 08 Apr 2002 14:53
Date: Mon, 08 Apr 2002 14:53
19 lines
1396 bytes
1396 bytes
I'm developing an app which uses a TADOConnection to access a MSAccess 2000 database. When I run the debug version of the app, as soon as the app tries to Open the TADOConnection, CodeGuard complains with the following message: "Method called on illegally casted object: Attempt to access 216 byte(s) at 0x010693B0. The 'this' pointer points to heap block 0x010693B0 which is only 212 bytes long." I have a generic Try..Catch structure around the Open and no exception is catched. The app runs OK although. Any ideas? TIA
Technical Details
Message-ID:
<3cb1af38$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!iad-peer.news.verio.net!news.verio.net!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,c90b3580728b4429,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-04-08 08:02:42 PST From: "Malvicmer" <malvicmer@yahoo.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: CodeGuard and TADOConnection Date: Mon, 8 Apr 2002 11:53:29 -0300 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 200.45.227.20 Message-ID: <3cb1af38$1_1@dnews> X-Trace: dnews 1018277688 200.45.227.20 (8 Apr 2002 07:54:48 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!iad-peer.news.verio.net!news.verio.net!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews