Article View: borland.public.cppbuilder.database.ado
Article #3106TADOConnection in Win32 Service
From: Sergey Muschin
Date: Tue, 17 Dec 2002 23:58
Date: Tue, 17 Dec 2002 23:58
10 lines
1319 bytes
1319 bytes
Hi everyone! I'm trying to use TADOConnection in Service and first time a call Open method of ADO connection , I'm geting error "CoInitialize has not been called." I understand that i need to initialize OLE , but how? where? Regards, Sergey Muschin
Technical Details
Message-ID:
<3dffbad1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!c03.atl99!news.webusenet.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,edbe6bb6c97a37e2,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-12-17 16:08:05 PST Reply-To: "Sergey Muschin" <sergey.muschin@tonservices.com> From: "Sergey Muschin" <sergey.muschin@tonservices.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: TADOConnection in Win32 Service Date: Tue, 17 Dec 2002 16:58:55 -0700 Lines: 12 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: <3dffbad1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1040169681 204.110.225.254 (17 Dec 2002 16:01:21 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!c03.atl99!news.webusenet.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail