🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TADOCOnnection in a class

#3732
From: Jurko
Date: Fri, 28 Jun 2002 13:33
21 lines
1731 bytes
> I have defined my own class which has a TADOConnection* as a member. When
I
> compile, however, I keep getting unresolved external errors on the ADO
> stuff. This class is in its own cpp and h files. I have included
<ADODB.hpp>
> and <Db.hpp> in the class cpp file put the unresolved externals errors
still
> persis. What am I overlooking ?
>
> Thanks,
>
> Robert

You're not linking your application to the ado's .dll... you must include
ado dll's import library into your project... the easiest way to do this is
to make the IDE do it for you... just open a form and drop any ADO
component on it and then delete it... the IDE will (at lease in BCB5)
forget to remove the reference to the import library :-)

HTH,
    Jurko
Technical Details
Message-ID: <ciohfa.glk.ln@news.ve-mil.hr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!yellow.newsread.com!news-toy.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews!news.ve-mil.hr!not-for-mail
References: <3d1c4ef8$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,235e942f9662e564
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-06-28 06:41:29 PST
From: "Jurko" <Jurko@ve-mil.hr>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3d1c4ef8$1_2@dnews>
Subject: Re: TADOCOnnection in a class
Date: Fri, 28 Jun 2002 15:33:21 +0200
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <ciohfa.glk.ln@news.ve-mil.hr>
NNTP-Posting-Host: 195.29.221.130
X-Trace: dnews 1025271402 195.29.221.130 (28 Jun 2002 06:36:42 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!yellow.newsread.com!news-toy.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews!news.ve-mil.hr!not-for-mail