Article View: borland.public.cppbuilder.database.ado
Article #630EOleSysError 'CoInitialize is not called", please help
From: user
Date: Wed, 02 Nov 2005 21:43
Date: Wed, 02 Nov 2005 21:43
13 lines
1293 bytes
1293 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:
<43693202$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.spamkiller.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,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 03 Nov 2005 05:43:12 +0800 From: user@domain.invalid 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: <43693202$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1130967554 61.217.145.154 (2 Nov 2005 13:39:14 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.spamkiller.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail