Article View: borland.public.cppbuilder.database.ado
Article #3352TADOConnection & TADOQuery Problem
From: Stephane Baillargeon
Date: Mon, 07 Oct 2002 10:15
Date: Mon, 07 Oct 2002 10:15
30 lines
1750 bytes
1750 bytes
Am I doing this right?
I get several linker errors such as (unresolved linker error #####
TADOConnection::~TADOConnection(); blablabla)
#include <vcl.h>
#include <ADODB.hpp>
...
...
...
void __fsatcall ..............(......,......)
{
TADOConnection *adoCon = new TADOConnection(NULL);
TADOQuery *adoQry = new TADOQuery(NULL);
....
.... Loop through adoQry and insert values found (SQL) in a map
While (!adoQry->Eof())
{
dosomething;
adoQry->Next();
}
....
delete adoCon;
delete adoQry;
}
Technical Details
Message-ID:
<3da15ede$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!xmission!news-out.spamkiller.net!propagator2-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,84033118fa070d0e,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-10-07 03:34:02 PST Reply-To: "Stephane Baillargeon" <stephane.baillargeon@sympatico.ca> From: "Stephane Baillargeon" <sbaillargeon@microids.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: TADOConnection & TADOQuery Problem Date: Mon, 7 Oct 2002 06:15:56 -0400 Lines: 32 Organization: Microids Canada Inc. 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: 65.94.160.160 Message-ID: <3da15ede$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1033985758 65.94.160.160 (7 Oct 2002 03:15:58 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!xmission!news-out.spamkiller.net!propagator2-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail