Article View: borland.public.cppbuilder.nativeapi
Article #16326Re: borland c++ builder and windows api
From: Bob Gonder
Date: Wed, 21 May 2003 22:11
Date: Wed, 21 May 2003 22:11
17 lines
1795 bytes
1795 bytes
"giorgio" <jocker99@iol.it> wrote:
>The following code demonstrates how to obtain the media access control (MAC)
>address associated with a specified IP address.
>//
>// Link with ws2_32.lib and iphlpapi.lib
>//
>
>when i run I have this error:
>[Linker Error] Unresolved external 'SendARP' referenced from
The problem is answered in the first line of Microsoft's example that
you showed:
>// Link with ws2_32.lib and iphlpapi.lib
^^^^^^^^^^^^^^
iphlpapi.lib is in your psdk directory: ..\lib\psdk
Include that lib in your build.
Technical Details
Message-ID:
<66uncv45v96stqna2s6k249e6frap4ucnd@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ec9e39b@newsgroups.borland.com> <3eca041d@newsgroups.borland.com> <3eca314b@newsgroups.borland.com> <3eca6dff@newsgroups.borland.com> <3ecbaa30@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,3ad9d0d2179ea58e X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-21 15:20:25 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: borland c++ builder and windows api Date: Wed, 21 May 2003 15:11:26 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <66uncv45v96stqna2s6k249e6frap4ucnd@4ax.com> References: <3ec9e39b@newsgroups.borland.com> <3eca041d@newsgroups.borland.com> <3eca314b@newsgroups.borland.com> <3eca6dff@newsgroups.borland.com> <3ecbaa30@newsgroups.borland.com> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.31.165.71 X-Trace: newsgroups.borland.com 1053555066 67.31.165.71 (21 May 2003 15:11:06 -0700) Lines: 19 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail