Article View: borland.public.cppbuilder.database.ado
Article #5982Re: CoInitialize has not been called
From: Robert Vasquez
Date: Mon, 11 Dec 2000 17:55
Date: Mon, 11 Dec 2000 17:55
29 lines
1618 bytes
1618 bytes
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:
<9134im$9af1@bornews.inprise.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!xfer13.netnews.com!netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mailReferences:
<3a328a9c_1@dnews>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-11 09:59:36 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!xfer13.netnews.com!netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail From: "Robert Vasquez" <rvasquez2001@yahoo.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: CoInitialize has not been called Date: Mon, 11 Dec 2000 09:55:33 -0800 Organization: Another Netscape Collabra Server User Lines: 31 Message-ID: <9134im$9af1@bornews.inprise.com> References: <3a328a9c_1@dnews> Reply-To: "Robert Vasquez" <rvasquez2001@yahoo.com> NNTP-Posting-Host: adsl-63-194-7-130.dsl.lsan03.pacbell.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400