🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADO in Dlls

#1882
From: CasteloX
Date: Sat, 10 Jan 2004 22:48
34 lines
1704 bytes
Hello YangKai,

Can I export one TADOConnection from one Dll to another?
I tried in different ways and always received an error when I access the 
TADOConnection.
Thanks in advance,
Ricardo



YangKai Liu wrote:
> Did you add "CoInitialize(NULL);" before using TADOConnection and
> "CoUninitialize();" after you are finished with it?
> 
> 
> YangKai Liu
> 
> "CasteloX" <castelox@yahoo.es> �b�l�� news:o42itb.a3e.ln@10.0.0.252 �����g
> ...
> 
>>Hello,
>>
>>Please, I'd like to know how I can make a ADO connection in one dll.
>>I want to connect with um MS SQL server.
>>TADOConnection doesn't work ...
>>
>>Thanks in advance,
>>
>>Ricardo
>>
>>
> 
> 
> 
Technical Details
Message-ID: <gtvptb.n18.ln@10.0.0.252>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!10.0.0.252!nobody
References: <o42itb.a3e.ln@10.0.0.252> <3ffcbaca@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,b550e8250350b70a
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2004-01-10 14:53:30 PST
Date: Sat, 10 Jan 2004 22:48:37 +0000
From: CasteloX <castelox@yahoo.es>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: ADO in Dlls
References: <o42itb.a3e.ln@10.0.0.252> <3ffcbaca@newsgroups.borland.com>
In-Reply-To: <3ffcbaca@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <gtvptb.n18.ln@10.0.0.252>
NNTP-Posting-Host: 213.141.0.229
X-Trace: newsgroups.borland.com 1073775000 213.141.0.229 (10 Jan 2004 14:50:00 -0700)
Lines: 35
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!10.0.0.252!nobody