Solved

proc not found in iphlpapi.h

Posted on 2002-03-17
2
1,682 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
Comment Utility
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
Comment Utility
The function requires Windows XP Pro or Windows .NET Server.

Roshmon
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now