Article View: borland.public.cppbuilder.database.ado
Article #5605Re: ADO in DLL?
From: Giuliano
Date: Wed, 04 Apr 2001 11:57
Date: Wed, 04 Apr 2001 11:57
17 lines
1288 bytes
1288 bytes
On Wed, 4 Apr 2001 11:26:27 +0800, "Lance Zhang" <lance219@yeah.net> wrote:
[snip]
>When I use a combination of TDatabase and TQuery it works just fine.
>But when I substitute them with TADOConnection and TADOQuery, an
>EOleSysError stating "CoInitiliaze not yet called" is raised upon the
>constructor of TDataModule1.
[snip]
Hi Lance,
I've used ADO in a ISAPI DLL some time ago, and I've had to call
CoInitialize. It had worked, for me.
Ciao!
Giuliano
Technical Details
Message-ID:
<3acb0b10.37987433@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!zeus.visi.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnewsReferences:
<3aca95fa_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,5201656cf3859ded X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-04-04 05:10:03 PST From: gcardinali@remove.adhoc.net (Giuliano) Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: ADO in DLL? Date: Wed, 04 Apr 2001 11:57:44 GMT Message-ID: <3acb0b10.37987433@newsgroups.borland.com> References: <3aca95fa_2@dnews> X-Newsreader: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 194.183.65.42 X-Trace: dnews 986385700 194.183.65.42 (4 Apr 2001 05:01:40 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!zeus.visi.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews