Re: CoInitialize has not been called?

Giganews Newsgroups
Subject: Re: CoInitialize has not been called?
Posted by:  Dan Bassett (dbassett@bns.com.nospam)
Date: Wed, 9 Jun 2004

Found the solution.  I must call  CoInitizlie(0) before executing the ADO
query.  Why must I do this using the http server component? I don't need to
do it elsewhere. Is it something to do with threads?

"Dan Bassett" <dbasse…@bns.com.nospam> wrote in message
news:7D898B067FA0E240dbasse…@bns.com.nospam...
> I get this error when  I try to use an ADO component to write to a
database
> inside the OnCommandGet event.  Is this not the way I should do it?
What's
> the correct way to do it then?

Replies

None

In response to

CoInitialize has not been called? posted by Dan Bassett on Wed, 9 Jun 2004