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. RAM

RAM

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 Posts 3 Posters 1 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
    john5632
    wrote on last edited by
    #1

    Hi, Is there anyway to get the system RAM size?

    _ B 2 Replies Last reply
    0
    • J john5632

      Hi, Is there anyway to get the system RAM size?

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

      GlobalMemoryStatusEx[^]

      «_Superman_» I love work. It gives me something to do between weekends.
      Microsoft MVP (Visual C++)

      1 Reply Last reply
      0
      • J john5632

        Hi, Is there anyway to get the system RAM size?

        B Offline
        B Offline
        BIJU Manjeri
        wrote on last edited by
        #3

        By using WMI, you can query the Physical Memory Size please have a look at Win32_ComputerSystem ->TotalPhysicalMemory http://msdn.microsoft.com/en-us/library/aa394102(VS.85).aspx[^] OR Win32_OperatingSystem ->TotalVisibleMemorySize http://msdn.microsoft.com/en-us/library/aa394239(VS.85).aspx[^] TotalVisibleMemorySize

        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