🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Trying to Import type library for ADO 2.6

#6003
From: Ben Dailey
Date: Wed, 15 Nov 2000 23:32
29 lines
1958 bytes
I assume you're using CPPB 5 to import the ado library? Forget it.

Grab a copy of Builder 4 and import the type library with that - should 
solve all your problems & compile OK in v5.

Cheers.

Ben.


In article <3a10f0a1_2@dnews>, mdangus@psychtest.com says...
> I'm trying to import the type library for ADO into a project (as suggested
> in another post). The compiler tries to compile the imported library into a
> package but fails with the following errors.... Any ideas what I did wrong?
> 
> [C++ Warning] ADODB_OCX.h(643): W8022 '_fastcall TRecord::GetChildren()'
> hides virtual function '_fastcall TComponent::GetChildren(void (_fastcall *
> (_closure )(TComponent *))(TComponent *),TComponent *)'
> [C++ Error] ADODB_OCX.cpp(131): E2034 Cannot convert 'TVariant' to 'long *'
> [C++ Error] ADODB_OCX.cpp(131): E2342 Type mismatch in parameter 'Options'
> (wanted 'long *', got 'TVariant')
> [C++ Error] ADODB_OCX.cpp(139): E2034 Cannot convert 'TVariant' to 'long *'
> [C++ Error] ADODB_OCX.cpp(139): E2342 Type mismatch in parameter 'Options'
> (wanted 'long *', got 'TVariant')
> 
> Any suggestions greatly appreciated.
> 
> 
> 
Technical Details
Message-ID: <MPG.147dc828b8f80ed2989685@forums.inprise.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!not-for-mail
References: <3a10f0a1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,77412eab14554500
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2000-11-15 15:31:19 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!not-for-mail
From: Ben Dailey <bdailey@nospam.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: Trying to Import type library for ADO 2.6
Date: Thu, 16 Nov 2000 10:32:46 +1100
Organization: Another Netscape Collabra Server User
Lines: 29
Message-ID: <MPG.147dc828b8f80ed2989685@forums.inprise.com>
References: <3a10f0a1_2@dnews>
NNTP-Posting-Host: ins130918-1.gw.connect.com.au
X-Newsreader: MicroPlanet Gravity v2.30