🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #5528

Re: ADO in DLL?

#5528
From: Lance Zhang
Date: Fri, 06 Apr 2001 00:51
33 lines
1782 bytes
Patrick,

What's the right place to call CoUninitialize()?

Can you give a brief sample?

Lance Zhang

"Patrick Martin" <patrickmmartin@freenet.co.uk> wrote in message
news:3ACBBF4A.4FCA0CFB@freenet.co.uk...
> 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
>
Technical Details
Message-ID: <3acd14bd_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3aca95fa_2@dnews> <3acb0b10.37987433@newsgroups.borland.com> <3ACBBF4A.4FCA0CFB@freenet.co.uk>

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-05 18:00:57 PST
Reply-To: "Lance Zhang" <lance219@yeah.net>
From: "Lance Zhang" <lance219@yeah.net>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3aca95fa_2@dnews> <3acb0b10.37987433@newsgroups.borland.com> <3ACBBF4A.4FCA0CFB@freenet.co.uk>
Subject: Re: ADO in DLL?
Date: Fri, 6 Apr 2001 08:51:56 +0800
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
NNTP-Posting-Host: 61.154.2.80
Message-ID: <3acd14bd_1@dnews>
X-Trace: dnews 986518717 61.154.2.80 (5 Apr 2001 17:58:37 -0700)
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews