Article View: borland.public.cppbuilder.database.ado
Article #4657Re: Problem: using ADOConnection in a thread
From: Alexander Chow
Date: Thu, 25 Oct 2001 01:22
Date: Thu, 25 Oct 2001 01:22
7 lines
1253 bytes
1253 bytes
Hi,
I have added that line but it still failed to connect to server.
And I found it would succeed if I used synchronize function in the
thread. It must be not thread-safe for using the TADOConnection in a thread.
Alex
Technical Details
Message-ID:
<3bd76932_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!newsfeed.mesh.ad.jp!uunet!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3bd63b2e_1@dnews> <3BD6C181.8090105@bsb.com.pl>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,8497a58d37414a68 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-10-24 18:35:00 PST Reply-To: "Alexander Chow" <zhou.zheng@dcecom.com.cn> From: "Alexander Chow" <zhou.zheng@dcecom.com.cn> Newsgroups: borland.public.cppbuilder.database.ado References: <3bd63b2e_1@dnews> <3BD6C181.8090105@bsb.com.pl> Subject: Re: Problem: using ADOConnection in a thread Date: Thu, 25 Oct 2001 09:22:43 +0800 Lines: 9 Organization: delta 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: 210.78.28.61 Message-ID: <3bd76932_2@dnews> X-Trace: dnews 1003972914 210.78.28.61 (24 Oct 2001 18:21:54 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!newsfeed.mesh.ad.jp!uunet!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews