🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CoInitialize has not been called

#5879
From: Michael Crapo
Date: Tue, 26 Dec 2000 14:23
41 lines
1825 bytes
Robert.
	I was just getting on borland to ask this very same question.
I had the error accure when I tried to use ado in a thread.  Thanks
for the sollution, it worked great.

Mike

On Mon, 11 Dec 2000 09:55:33 -0800, "Robert Vasquez"
<rvasquez2001@yahoo.com> wrote:

>You must first use...
>
>CoInitialize(NULL);
>
>Be for using ADO.  And remember to use...
>
>CoUninititalize();
>
>after using ADO.
>
>--
>Robert A. Vasquez
>rvasquez@medievaltimes.com
>rvasquez2001@yahoo.com
>"Larry D." <LCalkins@rmci.net> wrote in message news:3a328a9c_1@dnews...
>> When the application trys to instanciate the ADO Connection object a
>> EOleSysError exception occures with this message.
>>
>> Project DFerret.exe raised exception class EOleSysError with message
>> 'CoInitialize has not been called".  Process stopped. Use Step or Run to
>> continue.
>>
>> Does anyone know what CoInitialize is and why I should be getting this
>> error.
>>
>> Larry;
>>
>>
>>
>
>
Technical Details
Message-ID: <3a48a9b3.514329@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newshub2.rdc1.sfba.home.com!news.home.com!xfer10.netnews.com!netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!164.165.163.200
References: <3a328a9c_1@dnews> <9134im$9af1@bornews.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,46ea15e5e29c87d8
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2000-12-26 06:30:38 PST
From: mcrapo@tng-ida.com (Michael Crapo)
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: CoInitialize has not been called
Date: Tue, 26 Dec 2000 14:23:32 GMT
Message-ID: <3a48a9b3.514329@newsgroups.borland.com>
References: <3a328a9c_1@dnews> <9134im$9af1@bornews.inprise.com>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: 164.165.163.200
X-Trace: 26 Dec 2000 06:27:51 -0800, 164.165.163.200
Lines: 42
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newshub2.rdc1.sfba.home.com!news.home.com!xfer10.netnews.com!netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!164.165.163.200