Article View: borland.public.cppbuilder.database.ado
Article #2980Re: TADOConnection in Win32 Service
From: Sergey Muschin
Date: Mon, 13 Jan 2003 23:05
Date: Mon, 13 Jan 2003 23:05
33 lines
1838 bytes
1838 bytes
Thank You! "INCA Hellas Ltd" <inca@incahellas.com> wrote in message news:3e018b6e@newsgroups.borland.com... > You can also put the following line: > > TInitOle ti(COINIT_MULTITHREADED); > > before everything else in the Execute method of each thread and not bother > about CoInitialize and CoUninitialize. > > "Sergey Muschin" <sergey.muschin@tonservices.com> wrote in message > news:3dffc112$1@newsgroups.borland.com... > > Oops! > > > > Forgot to say, that right now i'm using > > > > CoInitializeEx(NULL,COINIT_MULTITHREADED); > > > > when service starts and > > > > CoUninitialize(); > > > > when it stops. Is it a right way to go? > > > > Regards, > > Sergey Muschin > > > > > > > > > >
Technical Details
Message-ID:
<3e2346dc$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3dffbad1$1@newsgroups.borland.com> <3dffc112$1@newsgroups.borland.com> <3e018b6e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,edbe6bb6c97a37e2 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-01-13 15:10:04 PST Reply-To: "Sergey Muschin" <sergey.muschin@tonservices.com> From: "Sergey Muschin" <sergey.muschin@tonservices.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3dffbad1$1@newsgroups.borland.com> <3dffc112$1@newsgroups.borland.com> <3e018b6e@newsgroups.borland.com> Subject: Re: TADOConnection in Win32 Service Date: Mon, 13 Jan 2003 16:05:58 -0700 Lines: 35 Organization: Flying J X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 204.110.225.254 Message-ID: <3e2346dc$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1042499292 204.110.225.254 (13 Jan 2003 15:08:12 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail