🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADO in DLL?

#5517
From: Lance Zhang
Date: Thu, 05 Apr 2001 02:27
33 lines
1679 bytes
Giuliano and Patrick,

Thank you both!

I'll have a try.

Lance

"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: <3acbd9bc_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!news.bnb-lp.com!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-04 19:40:19 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: Thu, 5 Apr 2001 10:27:49 +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.85
Message-ID: <3acbd9bc_1@dnews>
X-Trace: dnews 986438076 61.154.2.85 (4 Apr 2001 19:34:36 -0700)
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!news.bnb-lp.com!dnews