🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.dbexpress
Article #138

dbexpress in a thread

#138
From: Fabi�n
Date: Wed, 16 Mar 2005 15:50
9 lines
1377 bytes
Hi,  I'm trying to do a background operation in a application.
I created a thread wich uses queryes that are created an dinitialized in the
main thread. (the thread has pointers to the objects)
I have strange sql errors in my application.  Should I use another strategy,
like declare an initialize the connection in the thread, or use the method
"Synchronize"?
In that case, how should I do that?

Fabi�n
Technical Details
Message-ID: <42385495@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: fb4e2,c1be954691810285,start
X-Google-Attributes: gidfb4e2,public
X-Google-Language: ENGLISH,ASCII
Reply-To: "Fabi�n" <fabianfierro@hotmail.com>
From: "Fabi�n" <fabianfierro@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.dbexpress
Subject: dbexpress in a thread
Date: Wed, 16 Mar 2005 12:50:34 -0300
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 200.68.64.9
Message-ID: <42385495@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110987925 200.68.64.9 (16 Mar 2005 07:45:25 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail