🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #3961

Re: ADO+consol

#3961
From: Christoffer Christoffersen
Date: Thu, 25 Apr 2002 18:44
33 lines
1786 bytes
Thanks Arnie!

"Arnie Mauer" <amauer@vrms.com> skrev i meddelandet
news:3cc81e51$1_2@dnews...
> Create a console app that uses the VCL, then just dynamically create the
> objects.  For example:
>
> #include <adodb.hpp>
> ...
> int main( ing argc, char * argv[] )
> {
>     TADOConnection * conn = new TADOConnection( 0 );
>     conn->ConnectionString = "whatever ...";
>     conn->LoginPrompt = true; // or false as required.
>     conn->Open();
>     TADOQuery * q = new TADOQuery( conn );
>     q->Connection = conn;
>     q->SQL->Text = "Your SQL statement";
>     etc.
>
> - Arnie
>
> "Christoffer Christoffersen" <christoffer.christoffersen@lxg.com> wrote in
> message news:3cc7f171_2@dnews...
> > Is it possible to use ADO with an consol-application, if so does anyone
> have
> > an code example?
> >
> > Regards Chistoffer
> >
> >
>
>
Technical Details
Message-ID: <3cc84ef7_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!209.251.2.12.MISMATCH!news-xfer2.newshosting.com!uunet!dca.uu.net!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3cc7f171_2@dnews> <3cc81e51$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,eff32c41ed316fd6
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-04-25 11:48:19 PST
From: "Christoffer Christoffersen" <christoffer.christoffersen@telia.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3cc7f171_2@dnews> <3cc81e51$1_2@dnews>
Subject: Re: ADO+consol
Date: Thu, 25 Apr 2002 20:44:12 +0200
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
NNTP-Posting-Host: 213.67.111.41
Message-ID: <3cc84ef7_1@dnews>
X-Trace: dnews 1019760375 213.67.111.41 (25 Apr 2002 11:46:15 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!209.251.2.12.MISMATCH!news-xfer2.newshosting.com!uunet!dca.uu.net!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews