Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. iphlpapi.h error

iphlpapi.h error

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionlearning
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Toni78
    wrote on last edited by
    #1

    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.

    _ A 2 Replies Last reply
    0
    • T Toni78

      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.

      _ Offline
      _ Offline
      _moved
      wrote on last edited by
      #2

      may be iphlpapi.h utilizes types declared in some other header. i suggest you to check APIs used by your app and make sure that all necessary headers in right sequence are included.

      1 Reply Last reply
      0
      • T Toni78

        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.

        A Offline
        A Offline
        Anonymous
        wrote on last edited by
        #3

        Did you install the platform SDK? http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups