Article View: borland.public.cppbuilder.database.ado
Article #450TADODataSet
From: Ars Nova
Date: Mon, 20 Mar 2006 09:43
Date: Mon, 20 Mar 2006 09:43
16 lines
1275 bytes
1275 bytes
I want to create a TADODataSet object through new operator, and I've probed with:
TADODataSet * objDataSet;
objDataSet = new TADODataSet(NULL);
or
objDataSet = new TADODataSet(this);
where 'this' is a TADOConnection object reference.
In both cases this generates the follow Codeguard:
"Method called on illegally casted object: Attempt to access 608 byte(s) at 0x01214658. The 'this' pointer points to heap block 0x01214658 which is only 604 bytes long."
How can I do it?
Thank you very muchοΏ½
Technical Details
Message-ID:
<441e876e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeder.wxs.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,5ffca2f3a24d26cd,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII From: "Ars Nova" <lmuniz@ars-nova.net> Sender: "Ars Nova" <lmuniz@ars-nova.net> Reply-To: "Ars Nova" <lmuniz@ars-nova.net> Subject: TADODataSet Newsgroups: borland.public.cppbuilder.database.ado X-User-Info: 212.22.39.106 NNTP-Posting-Host: 207.105.83.66 Message-ID: <441e876e$1@newsgroups.borland.com> Date: 20 Mar 2006 02:43:58 -0700 X-Trace: newsgroups.borland.com 1142851438 207.105.83.66 (20 Mar 2006 02:43:58 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeder.wxs.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail