Solved

proc not found in iphlpapi.h

Posted on 2002-03-17
2
1,705 Views
Last Modified: 2013-12-03
I am building an app that uses winsock2.h.  When I make the call GetAdaptersAddresses that is defined in iphlpapi.h, I get:

"The procedure entry point GetadaptersAddresses could not be located in the dynamic link library iphlpapi.dll"

It links, but this comes up on runtime.  I link with the ws2_32.lib.

Any pointers would be great!

Thanks

Chris
0
Comment
Question by:sads
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Accepted Solution

by:
cookre earned 200 total points
ID: 6875815
Unless I have to have something from winsock 2, I settle for 1.1, include winsock.h and link with winsock32.lib.

This also has the advantage of giving me an exe that runs on 9x, nt, and 2k.

In any case, did you not link with iphlpapi.lib in the project?  Or are you doing a GetProcAddress() from the dll?
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 6875958
The function requires Windows XP Pro or Windows .NET Server.

Roshmon
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question