Article View: borland.public.cppbuilder.database.ado
Article #2713Re: ADO examples w Borland
From: Ivo Karindi
Date: Fri, 11 Apr 2003 19:08
Date: Fri, 11 Apr 2003 19:08
26 lines
1808 bytes
1808 bytes
Now I don't understand why is this, but if I change FieldPtr Field = rs->Fields->get_Item(i); to FieldPtr Field; Field = rs->Fields->get_Item(i); then everything works fine. Thank you very much for your help. This also goes a long way in trying to understand MSDN documentation... Ivo Karindi "Ivo Karindi" <solk@ieslc.com> wrote in message news:3e96dfd7@newsgroups.borland.com... > Thanks for your help. However, the example is not quite working yet on my > machine... When I run the code I get the following error message: > > Project ADOTEST1.exe raised exception class EOleException with message > '(this->get_Item(Index, (Adodb_tlb::FieldPtr*)&ppvObject)) Error: 800A0CC1 > (-2146825023) @ ....
Technical Details
Message-ID:
<3e9712fa@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!cyclone.bc.net!logbridge.uoregon.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e969069$1@newsgroups.borland.com> <3e96b0b5$1@newsgroups.borland.com> <3e96dfd7@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,ebf323db460718ac X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-04-11 12:14:27 PST Reply-To: "Ivo Karindi" <solk@ieslc.com> From: "Ivo Karindi" <solk@ieslc.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3e969069$1@newsgroups.borland.com> <3e96b0b5$1@newsgroups.borland.com> <3e96dfd7@newsgroups.borland.com> Subject: Re: ADO examples w Borland Date: Fri, 11 Apr 2003 22:08:33 +0300 Lines: 28 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: 213.35.136.182 Message-ID: <3e9712fa@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1050088186 213.35.136.182 (11 Apr 2003 12:09:46 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!cyclone.bc.net!logbridge.uoregon.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail