🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GetIfTable?

#15789
From: Remy Lebeau (TeamB)
Date: Thu, 12 Jun 2003 16:27
17 lines
1463 bytes
"vERUs" <verus@privat.utfors.se> wrote in message
news:3ee89b89@newsgroups.borland.com...

> When I do this I get an exception at address 00000000.
> It's the same after I've run it trough IMPLIB.

That suggests to me that maybe you are simply passing the wrong parameters
to the function in your code then.

> GetIfTable = (PROCGIT)GetProcAddress(GetModuleHandle("iphlpapi.dll"),
> "GetIfTable");

Try using LoadLibrary(), not GetModuleHandle().


Gambit
Technical Details
Message-ID: <3ee8a91c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ee62442@newsgroups.borland.com> <3ee62f95$1@newsgroups.borland.com> <3ee89b89@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-12 09:29:10 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ee62442@newsgroups.borland.com> <3ee62f95$1@newsgroups.borland.com> <3ee89b89@newsgroups.borland.com>
Subject: Re: GetIfTable?
Date: Thu, 12 Jun 2003 09:27:26 -0700
Lines: 19
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: <3ee8a91c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1055435036 207.175.226.26 (12 Jun 2003 09:23:56 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail