iphlpapi.h error
-
I have this project which I worked on a year ago. I copy it from one CD to my PC, I make some modifications to the dialogs in the resource editor and I try to compile it and this is what I get::confused: e:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2065: 'PMIB_ICMP_EX' : undeclared identifier e:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2146: syntax error : missing ')' before identifier 'pStats' e:\program files\microsoft sdk\include\iphlpapi.h(183) : warning C4229: anachronism used : modifiers on data are ignored e:\program files\microsoft sdk\include\iphlpapi.h(185) : error C2059: syntax error : ')' The begining of the header file where iphlpapi.h is looks like this:
#include #include #include #include "MacNSn.h"
Can someone tell me where this error is coming from and what steps should I take to fix it? This project used to compile and run just fine. // Afterall, I realized that even my comment lines have bugs If the sun were to blow up, it would take us 7-8 minutes to realize it.
-
I have this project which I worked on a year ago. I copy it from one CD to my PC, I make some modifications to the dialogs in the resource editor and I try to compile it and this is what I get::confused: e:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2065: 'PMIB_ICMP_EX' : undeclared identifier e:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2146: syntax error : missing ')' before identifier 'pStats' e:\program files\microsoft sdk\include\iphlpapi.h(183) : warning C4229: anachronism used : modifiers on data are ignored e:\program files\microsoft sdk\include\iphlpapi.h(185) : error C2059: syntax error : ')' The begining of the header file where iphlpapi.h is looks like this:
#include #include #include #include "MacNSn.h"
Can someone tell me where this error is coming from and what steps should I take to fix it? This project used to compile and run just fine. // Afterall, I realized that even my comment lines have bugs If the sun were to blow up, it would take us 7-8 minutes to realize it.
-
I have this project which I worked on a year ago. I copy it from one CD to my PC, I make some modifications to the dialogs in the resource editor and I try to compile it and this is what I get::confused: e:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2065: 'PMIB_ICMP_EX' : undeclared identifier e:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2146: syntax error : missing ')' before identifier 'pStats' e:\program files\microsoft sdk\include\iphlpapi.h(183) : warning C4229: anachronism used : modifiers on data are ignored e:\program files\microsoft sdk\include\iphlpapi.h(185) : error C2059: syntax error : ')' The begining of the header file where iphlpapi.h is looks like this:
#include #include #include #include "MacNSn.h"
Can someone tell me where this error is coming from and what steps should I take to fix it? This project used to compile and run just fine. // Afterall, I realized that even my comment lines have bugs If the sun were to blow up, it would take us 7-8 minutes to realize it.
Did you install the platform SDK? http://www.microsoft.com/msdownload/platformsdk/sdkupdate/