[olsr-dev] Windows interface naming
Thomas Lopatic
(spam-protected)
Mon Oct 2 22:02:48 CEST 2006
Hey Sektor,
Thanks for your patch and sorry for the delay in getting back to you. I
like your patch and would very much like to get it into olsrd-current!
However, in its current version, it unfortunately breaks olsrd
compatibility with anything below Windows XP. GetAdaptersAddresses() has
only been introduced in Windows XP and does not exist on earlier Windows
versions.
Could you adapt your patch such that it does not create a dependency on
Windows XP's version of iphlpapi.dll? An idea that comes to my mind is
to use GetProcAddress("GetAdaptersAddresses") on iphlpapi.dll and, if
non-null is returned, supply the functionality, otherwise don't. Then
your functionality will be available on XP and later and versions below
XP will still work without your functionality.
Thanks,
-Thomas
More information about the Olsr-dev
mailing list