Article View: borland.public.cppbuilder.database.ado
Article #3113Re: TADOConnection in Win32 Service
From: Arnie Mauer
Date: Wed, 18 Dec 2002 14:39
Date: Wed, 18 Dec 2002 14:39
27 lines
1494 bytes
1494 bytes
Sergey, If your service is multithreaded, CoInitialize musr be called in each thread. - Arnie "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:
<3e008943$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!nntp2.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3dffbad1$1@newsgroups.borland.com> <3dffc112$1@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: 2002-12-18 07:09:50 PST From: "Arnie Mauer" <amauer@vrms.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3dffbad1$1@newsgroups.borland.com> <3dffc112$1@newsgroups.borland.com> Subject: Re: TADOConnection in Win32 Service Date: Wed, 18 Dec 2002 09:39:44 -0500 Lines: 29 Organization: VRMS X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 209.140.211.97 Message-ID: <3e008943$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1040222531 209.140.211.97 (18 Dec 2002 06:42:11 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!nntp2.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail