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. Error:

Error:

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studiohelp
5 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.
  • J Offline
    J Offline
    Jhony george
    wrote on last edited by
    #1

    HAi ., In my application i have included mq.h header file ...and also windows.h header file...but when i am compiling its throwing follwing Error c:\program files\microsoft visual studio\vc98\include\mq.h(139) : error C2501: 'PROPID' : missing storage-class or type specifiers I think some of the header files need to add...! is any one knows pls reply me...

    Born to win...!

    N M 2 Replies Last reply
    0
    • J Jhony george

      HAi ., In my application i have included mq.h header file ...and also windows.h header file...but when i am compiling its throwing follwing Error c:\program files\microsoft visual studio\vc98\include\mq.h(139) : error C2501: 'PROPID' : missing storage-class or type specifiers I think some of the header files need to add...! is any one knows pls reply me...

      Born to win...!

      N Offline
      N Offline
      Nelek
      wrote on last edited by
      #2

      Have you used "Include file to project..."?? Just putting the #include header.h may not be enough.

      Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)

      J 1 Reply Last reply
      0
      • N Nelek

        Have you used "Include file to project..."?? Just putting the #include header.h may not be enough.

        Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)

        J Offline
        J Offline
        Jhony george
        wrote on last edited by
        #3

        Ya..Already..i have included..Include in project under this menu tools->options->directories...

        Born to win...!

        1 Reply Last reply
        0
        • J Jhony george

          HAi ., In my application i have included mq.h header file ...and also windows.h header file...but when i am compiling its throwing follwing Error c:\program files\microsoft visual studio\vc98\include\mq.h(139) : error C2501: 'PROPID' : missing storage-class or type specifiers I think some of the header files need to add...! is any one knows pls reply me...

          Born to win...!

          M Offline
          M Offline
          Michel_Huang
          wrote on last edited by
          #4

          I think you may need to add #include wtypes.h #include objidl.h #include winerror.h to your files....

          Contract Me: lihaoa@hotmail.com I love My USTC forever.

          J 1 Reply Last reply
          0
          • M Michel_Huang

            I think you may need to add #include wtypes.h #include objidl.h #include winerror.h to your files....

            Contract Me: lihaoa@hotmail.com I love My USTC forever.

            J Offline
            J Offline
            Jhony george
            wrote on last edited by
            #5

            Hai..Michel_Huang, Thanks for ur help...i used the header files...now its working...Thank u so much..:)

            Born to win...!

            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