Article View: borland.public.cppbuilder.database.ado
Article #3328R: TADOQuery inside a TThread
From: Steve
Date: Fri, 20 Sep 2002 06:39
Date: Fri, 20 Sep 2002 06:39
17 lines
1496 bytes
1496 bytes
Robert A. Vasquez <rvasquez2001@yahoo.com> wrote in message
3d8a0194@newsgroups.borland.com...
> When using ADO components in a thread make sure you included...
> create TADOQuery's etc..
> void __fastcall YourThread::Execute()
> {
> CoInitialize(NULL);
>
> Start using the ADO components...
>
> CoUninitialize();
> }
Thank you very much. Now I can use ADO without Synchronize() it. If there
are any other details to pay attention please let me know.
Steve.
Technical Details
Message-ID:
<3d8ac32e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mailReferences:
<3d89874a@newsgroups.borland.com> <3d8a0194@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,4e12a5ae0392282c X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-09-19 23:50:07 PST Reply-To: "Steve" <steve_alettoANTI@SPAMhotmail.com> From: "Steve" <steve_alettoANTI@SPAMhotmail.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3d89874a@newsgroups.borland.com> <3d8a0194@newsgroups.borland.com> Subject: R: TADOQuery inside a TThread Date: Fri, 20 Sep 2002 08:39:09 +0200 Lines: 19 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: <3d8ac32e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1032504110 80.105.101.132 (19 Sep 2002 23:41:50 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail