Article View: borland.public.cppbuilder.database.ado
Article #5615Re: ADO in DLL?
From: Patrick Martin
Date: Thu, 05 Apr 2001 00:41
Date: Thu, 05 Apr 2001 00:41
54 lines
2339 bytes
2339 bytes
This is a multi-part message in MIME format. --------------BD09AD5002DC21116D97DFFE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Don't forget Conuninitialize too! Giuliano wrote: > 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 --------------BD09AD5002DC21116D97DFFE Content-Type: text/x-vcard; charset=us-ascii; name="patrickmmartin.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Patrick Martin Content-Disposition: attachment; filename="patrickmmartin.vcf" begin:vcard n:Martin;Patrick tel;pager:na tel;cell:07773013982 tel;fax:na tel;home:01483 303496 tel;work:na x-mozilla-html:TRUE url:http://www.freenetpages.co.uk/hp/patrickmmartin/ adr:;;72 Stoke Fields;Guildord;Surrey;;UK version:2.1 email;internet:patrickmmartin@freenet.co.uk title:Dr. note:This is Patrick's home vcard x-mozilla-cpt:;20176 fn:Patrick Michael Martin end:vcard --------------BD09AD5002DC21116D97DFFE--
Technical Details
Message-ID:
<3ACBBF4A.4FCA0CFB@freenet.co.uk>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!hammer.uoregon.edu!feed.textport.net!news.bnb-lp.com!dnewsReferences:
<3aca95fa_2@dnews> <3acb0b10.37987433@newsgroups.borland.com>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 17:44:03 PST Message-ID: <3ACBBF4A.4FCA0CFB@freenet.co.uk> Date: Thu, 05 Apr 2001 01:41:46 +0100 From: Patrick Martin <patrickmmartin@freenet.co.uk> X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: en,fr MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: ADO in DLL? References: <3aca95fa_2@dnews> <3acb0b10.37987433@newsgroups.borland.com> Content-Type: multipart/mixed; boundary="------------BD09AD5002DC21116D97DFFE" NNTP-Posting-Host: 212.1.136.105 X-Trace: dnews 986430764 212.1.136.105 (4 Apr 2001 17:32:44 -0700) Lines: 55 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!hammer.uoregon.edu!feed.textport.net!news.bnb-lp.com!dnews