Article View: borland.public.cppbuilder.nativeapi
Article #10656Re: SQLDataSources
From: Bob Gonder
Date: Wed, 07 Apr 2004 06:59
Date: Wed, 07 Apr 2004 06:59
22 lines
1939 bytes
1939 bytes
Daryl wrote: >Could anyone please let me know what I have to add to get the ODBC API >SQLDataSources to link. I am currently getting an [Linker Error] Unresolved >External '_SQLDataSources ' referenced... error. What SQL product are you trying to write for? MSDN only gives hits for ASP.NET but the entries don't look like they pertain to your problem. Is this a VCL question? If so, better answers could be found in one of the VCL or Database groups. In general, Search your computer for all dll and lib files that contain the external you are looking for. If you don't have one hit, then you probably don't have what you need. (Get it from wherever you got the headers.) When you find a dll, look for a matching lib file. If you don't find a matching lib, create on from the dll using IMPLIB. Once you have a lib, link it with your application. Sometimes the libs just don't work and you need to use dynamic (runtime) linking to the dll.
Technical Details
Message-ID:
<219770hjl36m2h263ehfim7k0gqbfk8s0a@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4073910e$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,5ee32f19a7778eed X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-04-07 00:09:27 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: SQLDataSources Date: Tue, 06 Apr 2004 23:59:29 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <219770hjl36m2h263ehfim7k0gqbfk8s0a@4ax.com> References: <4073910e$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 4.227.187.65 X-Trace: newsgroups.borland.com 1081321169 4.227.187.65 (6 Apr 2004 23:59:29 -0800) Lines: 25 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail