Solved

proc not found in iphlpapi.h

Posted on 2002-03-17
2
1,696 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
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

809 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