🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Trying to Import type library for ADO 2.6

#5999
From: B Angus
Date: Tue, 14 Nov 2000 06:00
15 lines
1646 bytes
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: <3a10f0a1_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!216.232.79.183

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,77412eab14554500,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2000-11-13 23:59:21 PST
From: "B Angus" <mdangus@psychtest.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Trying to Import type library for ADO 2.6
Date: Mon, 13 Nov 2000 22:00:24 -0800
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 216.232.79.183
Message-ID: <3a10f0a1_2@dnews>
X-Trace: 13 Nov 2000 23:58:25 -0800, 216.232.79.183
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!216.232.79.183