Article View: borland.public.cppbuilder.database.ado
Article #631EOleSysError 'CoInitialize is not called", please help
From: YangKai Liu
Date: Wed, 02 Nov 2005 21:46
Date: Wed, 02 Nov 2005 21:46
13 lines
1367 bytes
1367 bytes
Hi, I call a standard DLL in my program. The DLL uses ADO and my program uses ADO too. I use data module to use ADO. I am sure that the DLL calls CoInitialize. When I try to run my program, I get the message "EOleSysError 'CoInitialize is not called" and the program stops at the constructor of my data module. Where should I put the CoInitialze? Thanks
Technical Details
Message-ID:
<436932b7@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,10c0e048a2fc087f X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 03 Nov 2005 05:46:13 +0800 From: YangKai Liu <yangkai.liu@decision-analytics.com> Reply-To: yangkai.liu@decision-analytics.com User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: EOleSysError 'CoInitialize is not called", please help Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 61.217.145.154 Message-ID: <436932b7@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1130967735 61.217.145.154 (2 Nov 2005 13:42:15 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail