ADO open with CodeGuard
From: Lothar (Lothar.Huppertz_at_gmx.de)
Date: 11/16/04
- Next message: miek: "Re: ADODataset component"
- Previous message: Lothar: "Re: ADO open with CodeGuard"
- Next in thread: Lothar: "Re: ADO open with CodeGuard"
- Reply: Lothar: "Re: ADO open with CodeGuard"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 16 Nov 2004 15:49:00 +0100
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();
- Next message: miek: "Re: ADODataset component"
- Previous message: Lothar: "Re: ADO open with CodeGuard"
- Next in thread: Lothar: "Re: ADO open with CodeGuard"
- Reply: Lothar: "Re: ADO open with CodeGuard"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]