🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Trying to Import type library for ADO 2.6

#6004
From: B Angus
Date: Thu, 16 Nov 2000 02:09
41 lines
2347 bytes
Thanks Ben -- I really appreciate the reply -- though I was going nuts here
cause I couldn't figure out what was wrong :-)) Bill A.
"Ben Dailey" <bdailey@nospam.com> wrote in message
news:MPG.147dc828b8f80ed2989685@forums.inprise.com...
> 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: <3a136ff5_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.online.be!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!216.232.79.183
References: <3a10f0a1_2@dnews> <MPG.147dc828b8f80ed2989685@forums.inprise.com>

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 21:27:13 PST
From: "B Angus" <mdangus@psychtest.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3a10f0a1_2@dnews> <MPG.147dc828b8f80ed2989685@forums.inprise.com>
Subject: Re: Trying to Import type library for ADO 2.6
Date: Wed, 15 Nov 2000 18:09:23 -0800
Lines: 43
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: <3a136ff5_2@dnews>
X-Trace: 15 Nov 2000 21:26:13 -0800, 216.232.79.183
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.online.be!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!216.232.79.183