🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15865

Re: GetIfTable?

#15865
From: Remy Lebeau (TeamB)
Date: Tue, 10 Jun 2003 19:24
21 lines
1566 bytes
"vERUs" <verus@privat.utfors.se> wrote in message
news:3ee62442@newsgroups.borland.com...

> After including the headerfile "iphlpapi.h" I get the
> following linker error: "Unresolved external 'GetIfTable' ..."

If you have BCB5 or 6, then add Iphlpapi.lib to your project.  It is located
in the $(BCB)\Lib\PSDK folder.

> do I have to load the function dynamically

If the above doesn't work, then yes.  Or else locate the actual DLL and run
it through the IMPLIB tool to generate a compatble .LIB file.

> and in that case how

By using LoadLibrary() and GetProcAddress().


Gambit
Technical Details
Message-ID: <3ee62f95$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ee62442@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,70d2eff840e44f86
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-10 13:04:17 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ee62442@newsgroups.borland.com>
Subject: Re: GetIfTable?
Date: Tue, 10 Jun 2003 12:24:21 -0700
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3ee62f95$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1055272853 207.175.226.26 (10 Jun 2003 12:20:53 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail