Article View: borland.public.cppbuilder.database.ado
Article #2614problem in creating TADODataSet at runtime in console application
From: Niyazi Unugur
Date: Thu, 24 Apr 2003 11:05
Date: Thu, 24 Apr 2003 11:05
14 lines
1346 bytes
1346 bytes
When i try to create TADODataSet at runtime; codeguard gives an exception : "Method called on illegaly casted object" here is the line that throws this exception; TADODataSet *DataSet = new TADODataSet(NULL); I think this is just because of the NULL parameter. Since my application is console application i cannot use 'this' pointer as a parameter. What can i do? Thanks in advance, Niyazi
Technical Details
Message-ID:
<3ea7c4f6@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,7e544fbfcd16f418,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-04-24 04:09:22 PST From: "Niyazi Unugur" <unugurn@hotmail.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: problem in creating TADODataSet at runtime in console application Date: Thu, 24 Apr 2003 14:05:23 +0300 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 212.174.59.103 Message-ID: <3ea7c4f6@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1051182326 212.174.59.103 (24 Apr 2003 04:05:26 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail