🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TADOQuery inside a TThread

#3324
From: Steve
Date: Thu, 19 Sep 2002 08:11
13 lines
1303 bytes
Hi all,

how can I use TADOQuery inside a TThread? Is it possible? I've already tried
something, but the thread locks itself when I use TADOQuery...

For example the following line causes the problem (except if I put it in the
thread constructor):

TADOQuery *MyQuery = new TADOQuery(NULL);

TIA,

Steve.
Technical Details
Message-ID: <3d89874a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,4e12a5ae0392282c,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-09-19 01:36:05 PST
Reply-To: "Steve" <steve_alettoANTI@SPAMhotmail.com>
From: "Steve" <steve_alettoANTI@SPAMhotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: TADOQuery inside a TThread
Date: Thu, 19 Sep 2002 10:11:20 +0200
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: 80.105.101.132
Message-ID: <3d89874a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1032423242 80.105.101.132 (19 Sep 2002 01:14:02 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail