🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TADODataSet and threads

#3380
From: luca casotti
Date: Thu, 05 Sep 2002 18:12
27 lines
1763 bytes
but these methods are notfor COM objects ?

luca

"Mark Guerrieri" <markg11@comcast.net> ha scritto nel messaggio
news:3d758846$1@newsgroups.borland.com...
> Call CoInitialize(NULL)/CoUninitialize() in the Execute method of the
second
> thread (assuming it is a TThread decendant)...
>
> Mark Guerrieri
>
> "luca casotti" <lucacasotti@libero.it> wrote in message
> news:3d70c0fc@newsgroups.borland.com...
> > I'm using a TADODataSet object in  the main thread. If I use this object
> > from a second thread, when both the threads use the object at the same
> time
> > (I suppose) the program cause an error and exits.
> > How can I avoid this problem?
> >
> > thanks
> >
> > luca
> >
> >
>
>
Technical Details
Message-ID: <3d779e8c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!small.news.tele.dk!208.49.253.98!newsfeed.news2me.com!arclight.uoregon.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3d70c0fc@newsgroups.borland.com> <3d758846$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,251df562247d2134
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-09-05 12:24:48 PST
From: "luca casotti" <lucacasotti@libero.it>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3d70c0fc@newsgroups.borland.com> <3d758846$1@newsgroups.borland.com>
Subject: Re: TADODataSet and threads
Date: Thu, 5 Sep 2002 20:12:25 +0200
Lines: 29
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: 81.0.40.105
Message-ID: <3d779e8c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1031249548 81.0.40.105 (5 Sep 2002 11:12:28 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!small.news.tele.dk!208.49.253.98!newsfeed.news2me.com!arclight.uoregon.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail