🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Get user's dsn

#5852
From: Jirzi
Date: Fri, 02 Feb 2001 12:40
34 lines
2066 bytes
You can make BCB compatible import libs with implib.exe, found in
($BCB)\bin.

Syntax: IMPLIB [options] libname[.lib] [@respfile | srcname] [srcname ...]

Jirzi

"Dmitry Belyshev" <belyshev@up.botik.ru> wrote in message
news:3a7a5e1b_2@dnews...
> Hello Jerry!
>
> > >In my application I need to get user's dns on local computer.
> > >I've found sample code in MSDN it compiles successfully
> > >but could not be linked with errors
> > >"Unresolved external '_SQLAllocHandle referenced from ..."
> > >"Unresolved external '_SQLSetEnvAttr referenced from ..."
> > >and so on.
> >
> > You need to include the proper ODBC API libraries into your project as
> > well.  I do not remember exactly which one those functions are in,  but
> you
> > need to add it to the project (after making your own Borland compatible
> > import libraries for your ODBC version that is).
>
> I tried to include some libraries, but I can't....
> What do you mean "making your own Borland compatible import libraries..."
> and how can I do this?
>
> Please, help me. I really need this !
>
> Best regards,
>   Dmitry Belyshev. email: belyshev@u-pereslavl.botik.ru
>
>
Technical Details
Message-ID: <3a7aaa44_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!grolier!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!dnews!193.189.191.38
References: <3a7819d9_1@dnews> <lkeh7tcia1he3ijkvektd2dj0lh7bpv8lh@4ax.com> <3a7a5e1b_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,ef5254cdbea73bba
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-02-02 04:39:09 PST
From: "Jirzi" <jirzi@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3a7819d9_1@dnews> <lkeh7tcia1he3ijkvektd2dj0lh7bpv8lh@4ax.com> <3a7a5e1b_2@dnews>
Subject: Re: Get user's dsn
Date: Fri, 2 Feb 2001 13:40:44 +0100
Lines: 36
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: 193.189.191.38
Message-ID: <3a7aaa44_2@dnews>
X-Trace: 2 Feb 2001 04:38:28 -0800, 193.189.191.38
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!grolier!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!dnews!193.189.191.38