Grant
2006-04-26 18:44:58 UTC
Hello all,
I am having an issue using iphlpapi.h with visual studio .net 2003 with
a console application.
I have checked that the files involved (header and lib) are in the
appropriate paths according to
Tools->Options->Projects->Directories.
When I try to compile it complains that PIP_ADAPTER_ADDRESSES,
IP_ADAPTER_ADRESSES, and GetAdaptersAddresses() are all undeclared
identifiers.
It doesn't complain about not finding the header file, iphlpapi.h, like
you would expect if my directories weren't correct. I've gone so far as
copying the header file into my project directory and making sure that
the items I am trying to use and I still get the C2065 Undecalred
identifier errors.
Has anyone run into this before and found a fix or have any
suggestions?
I am having an issue using iphlpapi.h with visual studio .net 2003 with
a console application.
I have checked that the files involved (header and lib) are in the
appropriate paths according to
Tools->Options->Projects->Directories.
When I try to compile it complains that PIP_ADAPTER_ADDRESSES,
IP_ADAPTER_ADRESSES, and GetAdaptersAddresses() are all undeclared
identifiers.
It doesn't complain about not finding the header file, iphlpapi.h, like
you would expect if my directories weren't correct. I've gone so far as
copying the header file into my project directory and making sure that
the items I am trying to use and I still get the C2065 Undecalred
identifier errors.
Has anyone run into this before and found a fix or have any
suggestions?