🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
3 messages
3 total messages Started by B Angus Tue, 14 Nov 2000 06:00
Trying to Import type library for ADO 2.6
#5999
Author: 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.
Re: Trying to Import type library for ADO 2.6
#6003
Author: 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.
> 
> 
> 
Re: Trying to Import type library for ADO 2.6
#6004
Author: 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.
> >
> >
> >
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads