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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. GetProcessMemoryInfo Generates LNK 2019

GetProcessMemoryInfo Generates LNK 2019

Scheduled Pinned Locked Moved C / C++ / MFC
help
6 Posts 4 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.
  • M Offline
    M Offline
    mpk1979
    wrote on last edited by
    #1

    Hi all, calling GetProcessMemoryInfo is generating error LNK 2019 , can any one help me regarding this. mpk1979

    P H 2 Replies Last reply
    0
    • M mpk1979

      Hi all, calling GetProcessMemoryInfo is generating error LNK 2019 , can any one help me regarding this. mpk1979

      P Offline
      P Offline
      prasad_som
      wrote on last edited by
      #2

      And whats that error ?

      Prasad Notifier using ATL | Operator new[],delete[][^]

      M D 2 Replies Last reply
      0
      • P prasad_som

        And whats that error ?

        Prasad Notifier using ATL | Operator new[],delete[][^]

        M Offline
        M Offline
        mpk1979
        wrote on last edited by
        #3

        ya, i got it , i need to include psapi.lib in the linker options,thanks

        1 Reply Last reply
        0
        • M mpk1979

          Hi all, calling GetProcessMemoryInfo is generating error LNK 2019 , can any one help me regarding this. mpk1979

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          Did you see Requirements on MSDN? Header: Declared in Psapi.h. Library: Use Psapi.lib.


          WhiteSky


          1 Reply Last reply
          0
          • P prasad_som

            And whats that error ?

            Prasad Notifier using ATL | Operator new[],delete[][^]

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            prasad_som wrote:

            And whats that error ?

            Did you miss "LNK2019" in both the subject and the body?


            "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

            "Judge not by the eye but by the heart." - Native American Proverb

            P 1 Reply Last reply
            0
            • D David Crow

              prasad_som wrote:

              And whats that error ?

              Did you miss "LNK2019" in both the subject and the body?


              "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

              "Judge not by the eye but by the heart." - Native American Proverb

              P Offline
              P Offline
              prasad_som
              wrote on last edited by
              #6

              As usual, I checked LNK 2019 , in MSDN Apr-2001. And could not find it. With VS 6.0 its LNK 2001. Thats why asked for error message. Though, its present in latest one. I should have checked that.

              Prasad Notifier using ATL | Operator new[],delete[][^]

              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