🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Using ADO in Cpp Builder without ADOExpress

#6089
From: B Angus
Date: Mon, 13 Nov 2000 07:48
40 lines
2705 bytes
Hey Olle Thanks for the post... This looks like exactly what we need to be
able to use ADO... but I ran into trouble.

I tried the process at the webpage given -- the directions seem to be for
BCB4, but I think I did what was required.  I wanted to add ADO 2.6 to my
project so I used the Project|Import Type Library options of the BCB5 main
menu. I selected Microsoft Activex Data Objects 2.6 Library from the list of
options. Then I clicked install and BCB5 tried to build the import library.

We got the following errors before the compile terminated. Anybody have any
ideas as to what we're doing wrong? These errors occurred regardless of
whether we checked the Generate Component Wrapper check box or not.

[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 ideas what I'm doing wrong?

Thanks Bill A.
, "Olov Lundin" <olov.lundin@telia.com> wrote in message
news:3A0EDF45.BB7388D7@telia.com...
> Try this link
>
>
http://cslp.comp.nus.edu.sg/luakt/programming/Using%20ADO%20with%20Borland%2
0C%2B%2B%20Builder%204.htm
>
> Olle
>
> Stefano Del Furia wrote:
> >
> > I have found some trouble, when i have write this piece of code:
> >
Technical Details
Message-ID: <3a0f9e25$1_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!skynet.be!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!216.232.79.183
References: <125m0t8vp63rrig79juhk1u5vlsbfjsnuu@4ax.com> <8ufqcb$h4v5@bornews.inprise.com> <eu5t0tclq740hs788ma8cnlntpljul375o@4ax.com> <3A0EDF45.BB7388D7@telia.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,26dbf703f5fbf5a5
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2000-11-12 23:54:22 PST
From: "B Angus" <mdangus@psychtest.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <125m0t8vp63rrig79juhk1u5vlsbfjsnuu@4ax.com> <8ufqcb$h4v5@bornews.inprise.com> <eu5t0tclq740hs788ma8cnlntpljul375o@4ax.com> <3A0EDF45.BB7388D7@telia.com>
Subject: Re: Using ADO in Cpp Builder without ADOExpress
Date: Sun, 12 Nov 2000 23:48:51 -0800
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 216.232.79.183
Message-ID: <3a0f9e25$1_1@dnews>
X-Trace: 12 Nov 2000 23:54:13 -0800, 216.232.79.183
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!skynet.be!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!216.232.79.183