Puneet
2004-04-29 05:03:37 UTC
Hi All,
I am facing a problem with the PlatformSDK while compiling the code.
for my code i used a command called GetAdaptersInfo(). This command has
dependency of "Iphlpapi.h" and "iphlpapi.lib".
it gives following errors
--------------------Configuration: Project_V12 -
Win32Debug--------------------
Compiling...
Adapterdlg.cpp
c:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2065:
'PMIB_ICMP_EX' : undeclared identifier
c:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2146: syntax
error : missing ')' before identifier 'pStats'
c:\program files\microsoft sdk\include\iphlpapi.h(183) : warning C4229:
anachronism used : modifiers on data are ignored
c:\program files\microsoft sdk\include\iphlpapi.h(185) : error C2059: syntax
error : ')'
Error executing cl.exe.
Creating browse info file...
Project_V12.exe - 3 error(s), 1 warning(s)
----------------------------------------------------------------------------
--
plz let me know where is the problem.
Regards,
Puneet
I am facing a problem with the PlatformSDK while compiling the code.
for my code i used a command called GetAdaptersInfo(). This command has
dependency of "Iphlpapi.h" and "iphlpapi.lib".
it gives following errors
--------------------Configuration: Project_V12 -
Win32Debug--------------------
Compiling...
Adapterdlg.cpp
c:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2065:
'PMIB_ICMP_EX' : undeclared identifier
c:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2146: syntax
error : missing ')' before identifier 'pStats'
c:\program files\microsoft sdk\include\iphlpapi.h(183) : warning C4229:
anachronism used : modifiers on data are ignored
c:\program files\microsoft sdk\include\iphlpapi.h(185) : error C2059: syntax
error : ')'
Error executing cl.exe.
Creating browse info file...
Project_V12.exe - 3 error(s), 1 warning(s)
----------------------------------------------------------------------------
--
plz let me know where is the problem.
Regards,
Puneet