🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Error in a DLL

#2674
From: Rato
Date: Thu, 15 May 2003 09:37
36 lines
2309 bytes
Thank you very much I go to do it!!
Thank you again
Patrick
"Viatcheslav V. Vassiliev" <support@oledbdirect.com> a �crit dans le message
de news: 3ec356d7$1@newsgroups.borland.com...
> You should call CoInitlialize(NULL) (defined in objbase.h) or
> OleInitialize(NULL) (defined in ole2.h) at beginning of your application
and
> CoUninitialize() or OleUninitialize at end. You should call these
functions
> in every thread if you use COM objects.
>
> ----------------------------------------------------------------
> Regards,
> Viatcheslav V. Vassiliev
> http://www.oledbdirect.com
> The fastest way to access MS SQL Server, MS Jet (MS Access)
> and Interbase (through OLEDB) databases.
>
>
> "Rato" <patrickartaud@csi.com> �������/�������� � �������� ���������:
> news:3ec29751@newsgroups.borland.com...
> > Hello I have created DLLs but in one I have add the ADOConnection
> component
> > and when I launch my application it ask me about the CoInitialize
method.
> > What I'm doing wrong?
> > Or is it normal?
> > And when I add the CoInitialize before I call the DLL I have the 'not
> > defined fucntion CoInitialize" error message.Must I add an header?
> > I thank you very much for your help
> > Patrick
> >
> >
>
>
Technical Details
Message-ID: <3ec36019$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ec29751@newsgroups.borland.com> <3ec356d7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,e6e3b761598ceb85
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-05-15 02:42:14 PST
From: "Rato" <patrickartaud@csi.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3ec29751@newsgroups.borland.com> <3ec356d7$1@newsgroups.borland.com>
Subject: Re: Error in a DLL
Date: Thu, 15 May 2003 11:37:44 +0200
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 80.13.105.87
Message-ID: <3ec36019$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1052991513 80.13.105.87 (15 May 2003 02:38:33 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail