🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Get user's dsn

#5850
From: Dmitry Belyshev
Date: Fri, 02 Feb 2001 07:12
23 lines
1787 bytes
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: <3a7a5e1b_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!193.232.174.171
References: <3a7819d9_1@dnews> <lkeh7tcia1he3ijkvektd2dj0lh7bpv8lh@4ax.com>

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-01 23:16:33 PST
From: "Dmitry Belyshev" <belyshev@up.botik.ru>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3a7819d9_1@dnews> <lkeh7tcia1he3ijkvektd2dj0lh7bpv8lh@4ax.com>
Subject: Re: Get user's dsn
Date: Fri, 2 Feb 2001 10:12:52 +0300
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: 193.232.174.171
Message-ID: <3a7a5e1b_2@dnews>
X-Trace: 1 Feb 2001 23:13:31 -0800, 193.232.174.171
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!193.232.174.171