Article View: borland.public.cppbuilder.database.ado
Article #5844Re: Get user's dsn
From: Jerry Bloomfield (TeamB)
Date: Thu, 01 Feb 2001 01:24
Date: Thu, 01 Feb 2001 01:24
19 lines
1787 bytes
1787 bytes
On Wed, 31 Jan 2001 16:58:05 +0300, "Dmitry Belyshev" <belyshev@up.botik.ru> wrote: >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). Jerry Bloomfield (TeamB) -- http://www.teamb.com JersWork@wwa.com Please do *NOT* send private e-mail without prior permission (my anti-spam filters will probably just delete it anyway <g>)
Technical Details
Message-ID:
<lkeh7tcia1he3ijkvektd2dj0lh7bpv8lh@4ax.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!fr.clara.net!heighliner.fr.clara.net!nntp1.njy.teleglobe.net!teleglobe.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mailReferences:
<3a7819d9_1@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-01-31 17:26:01 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!fr.clara.net!heighliner.fr.clara.net!nntp1.njy.teleglobe.net!teleglobe.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail From: "Jerry Bloomfield (TeamB)" <JersWork@wwa.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Get user's dsn Date: Wed, 31 Jan 2001 19:24:47 -0600 Organization: LSVFA - Latest Software Version Freaks Anonomous Lines: 20 Message-ID: <lkeh7tcia1he3ijkvektd2dj0lh7bpv8lh@4ax.com> References: <3a7819d9_1@dnews> NNTP-Posting-Host: 157-238-73-216.il.verio.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.8/32.548