🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Dynamic creation of TADOQuery object???

#4764
From: Andrey Subbotin
Date: Tue, 16 Oct 2001 10:41
23 lines
1630 bytes
May be this snipplet will help?

TADOQuery *q = new TADOQuery(NULL);
q->Connection = YourConnection;
// put all your other code here

Sorry, if I got something misunderstood.

--
--- Find out what you can do.

"Lars" <lars.hofvander@se.tekla.com> wrote in message
news:3bcbf1e7$1_1@dnews...
> Have .cpp and .h files to describe a class.
> "class TAppThread : public TThread"
> No form available. Class is called as a new thread from a server
> application. The call passes TADOConnection pointer, but needs to create
its
> own TADOQuery since caller might use its own at the time of thread
> execution.
> How do I do this without getting an abstract error ???
>
>
Technical Details
Message-ID: <3bcc009e_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!howland.erols.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3bcbf1e7$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,1009720ddb739da9
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-10-16 02:51:51 PST
Reply-To: "Andrey Subbotin" <e-ploko@mail.ru>
From: "Andrey Subbotin" <e-ploko@mail.ru>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3bcbf1e7$1_1@dnews>
Subject: Re: Dynamic creation of TADOQuery object???
Date: Tue, 16 Oct 2001 17:41:20 +0700
Lines: 25
Organization: Onyx Advertisisng Group
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 195.161.98.246
Message-ID: <3bcc009e_2@dnews>
X-Trace: dnews 1003225246 195.161.98.246 (16 Oct 2001 02:40:46 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!howland.erols.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews