Article View: borland.public.cppbuilder.database.ado
Article #5987CodeGard Error
From: Larry D.
Date: Tue, 12 Dec 2000 00:15
Date: Tue, 12 Dec 2000 00:15
24 lines
1641 bytes
1641 bytes
When I open a ADOConnection CodeGuard reports a error. The code is somewhat
as follows.
DBConn = new TADOConnection (Application);
DBConn->ConnectionString = ConnStr;
DBConn->Open ();
When the code to open the ADOConnection CodeGuard reports this error:
"Method called on illegally casted object"
Attempt to access 216 byte(s) at 0x015c6c10. The 'this' pointer
points to heap block 0x015c6c10 which is only 212 bytes long.
This appears the ADOConnection object is larger by 4 bytes than what is
actually allocated by the system. Is there some inconsistency with the
header and the object files for ADO.
I have installed the most recent patches from Code Cental that is dated
'10/13/2000'
Any help in this is most appreciated.
Larry;
Technical Details
Message-ID:
<3a356cec_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!206.159.115.253Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,86b968748775f27a,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2000-12-11 16:11:22 PST Reply-To: "Larry D." <LCalkins@rmci.net> From: "Larry D." <LCalkins@rmci.net> Newsgroups: borland.public.cppbuilder.database.ado Subject: CodeGard Error Date: Mon, 11 Dec 2000 17:15:29 -0700 Lines: 27 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: 206.159.115.253 Message-ID: <3a356cec_1@dnews> X-Trace: 11 Dec 2000 16:10:20 -0800, 206.159.115.253 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!206.159.115.253