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. Memory access at run time

Memory access at run time

Scheduled Pinned Locked Moved C / C++ / MFC
c++performancequestion
5 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.
  • S Offline
    S Offline
    SamirSood
    wrote on last edited by
    #1

    I want to know whether this is possible to access RAM through VC++? If yes then can i read or write data in RAM? Please reply soon........ Samir Sood

    V P 2 Replies Last reply
    0
    • S SamirSood

      I want to know whether this is possible to access RAM through VC++? If yes then can i read or write data in RAM? Please reply soon........ Samir Sood

      V Offline
      V Offline
      Vagif Abilov
      wrote on last edited by
      #2

      Almost whatever you do in C++, you access RAM :) Of course you can only access memory managed by your process, otherwise your program will generate "Access violation" exception. Vagif Abilov MCP (Visual C++) Oslo, Norway Hex is for sissies. Real men use binary. And the most hardcore types use only zeros - uppercase zeros and lowercase zeros. Tomasz Sowinski

      1 Reply Last reply
      0
      • S SamirSood

        I want to know whether this is possible to access RAM through VC++? If yes then can i read or write data in RAM? Please reply soon........ Samir Sood

        P Offline
        P Offline
        Pavel Klocek
        wrote on last edited by
        #3

        You can access all memory mapped to application address space, randomly mapped to physical RAM by OS. If you need to access a physical RAM, you need to go down to driver level, if it's possible at all. Pavel Sonork 100.15206

        S 1 Reply Last reply
        0
        • P Pavel Klocek

          You can access all memory mapped to application address space, randomly mapped to physical RAM by OS. If you need to access a physical RAM, you need to go down to driver level, if it's possible at all. Pavel Sonork 100.15206

          S Offline
          S Offline
          SamirSood
          wrote on last edited by
          #4

          Can u provide me with some api level information for it Samir Sood

          T 1 Reply Last reply
          0
          • S SamirSood

            Can u provide me with some api level information for it Samir Sood

            T Offline
            T Offline
            Todd Jeffreys
            wrote on last edited by
            #5

            VirtualQueryEx

            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