Article View: borland.public.cppbuilder.database.ado
Article #1076ADO open with CodeGuard
From: Lothar
Date: Tue, 16 Nov 2004 14:58
Date: Tue, 16 Nov 2004 14:58
47 lines
2443 bytes
2443 bytes
When I open an ADOConnection, CodeGuard gives me this error. It says
that 224 bytes are used, but 220 are only allocated. So is there an
error in the source code of ADO?
I use C++Builder 6 prof.
Can anyone help me?
Thank you
Lothar
Error 00111. 0x130C10 (Thread 0x0618):
Method called on illegally casted object: Attempt to access 224 byte(s) at
0x01B7BF00. The 'this' pointer points to heap block 0x01B7BF00 which is
only
220 bytes long.
Call Tree:
0x00414396(=SpeedraTel.exe:0x01:013396)
d:\programme\borland\cbuilder6\include\vcl\ADODB.hpp#277
0x00411F45(=SpeedraTel.exe:0x01:010F45)
E:\SpeedraTel\Programme\SpeedraTel\STUnit.cpp#1740
0x400F0655(=vcl60.bpl:0x01:03F655)
0x4010A9A8(=vcl60.bpl:0x01:0599A8)
0x4010A623(=vcl60.bpl:0x01:059623)
0x4003947A(=rtl60.bpl:0x01:03847A)
The memory block (0x01B7BF00) [size: 220 bytes] was allocated with
SysGetMem
Call Tree:
0x40002FCF(=rtl60.bpl:0x01:001FCF)
0x004116E9(=SpeedraTel.exe:0x01:0106E9)
E:\SpeedraTel\Programme\SpeedraTel\STUnit.cpp#1720
0x400F0655(=vcl60.bpl:0x01:03F655)
0x4010A9A8(=vcl60.bpl:0x01:0599A8)
0x4010A623(=vcl60.bpl:0x01:059623)
0x4003947A(=rtl60.bpl:0x01:03847A)
ADODB.hpp#277
inline void __fastcall Open(void){ TCustomConnection::Open(); }
STUnit.cpp#1720
ADOConnection = new TADOConnection(TabSheetKanal->Owner);
STUnit.cpp#1740
ADOConnection->Open();
Technical Details
Message-ID:
<419a15c8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!news.cambrium.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,63b37d1c14d3d006,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 16 Nov 2004 15:58:51 +0100 From: Lothar <Lothar.Huppertz@gmx.de> User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax) X-Accept-Language: de-DE, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: ADO open with CodeGuard Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 80.133.153.137 Message-ID: <419a15c8$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100617160 80.133.153.137 (16 Nov 2004 06:59:20 -0700) Lines: 48 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!news.cambrium.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail