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. Database & SysAdmin
  3. System Admin
  4. Direct Access to Physical Memory

Direct Access to Physical Memory

Scheduled Pinned Locked Moved System Admin
performancehelptutorialquestion
3 Posts 2 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.
  • A Offline
    A Offline
    Allan P Krings
    wrote on last edited by
    #1

    Hi, I've been trying to access the physical memory (BIOS) from my program under Windows XP, but can't seem to make it work. :confused: Is there anybody who knows how to do it, and could you possibly post some info about this? :rose::rose::rose: Pleezzz help me ! --[ There are 10 kinds of people in the world: those who understand binary and those who dont. ]--

    M 1 Reply Last reply
    0
    • A Allan P Krings

      Hi, I've been trying to access the physical memory (BIOS) from my program under Windows XP, but can't seem to make it work. :confused: Is there anybody who knows how to do it, and could you possibly post some info about this? :rose::rose::rose: Pleezzz help me ! --[ There are 10 kinds of people in the world: those who understand binary and those who dont. ]--

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      If you really must do this: you have to write a device driver. Regular applications don't have direct access to physical memory. Are you sure there isn't already an API for doing what you need to do? To develop device drivers, you need the Windows DDK[^]. Stability. What an interesting concept. -- Chris Maunder

      A 1 Reply Last reply
      0
      • M Mike Dimmick

        If you really must do this: you have to write a device driver. Regular applications don't have direct access to physical memory. Are you sure there isn't already an API for doing what you need to do? To develop device drivers, you need the Windows DDK[^]. Stability. What an interesting concept. -- Chris Maunder

        A Offline
        A Offline
        Allan P Krings
        wrote on last edited by
        #3

        Hi Mike, Thanx for your answer.:rose: Mike Dimmick wrote: If you really must do this: you have to write a device driver. Regular applications don't have direct access to physical memory. Are you sure there isn't already an API for doing what you need to do? Well, you're right, and now I have (re-)learned that the hard way. I was seeking high and seeking low for the SMBIOS UUID (Universal Unique ID) and first found it after several days. The information is available (if supported by the BIOS) through WMI. Stupidly enough I was searching for it under the key Win32_BIOS or Win32_SMBIOSMemory. Instead I found it as mentioned after several days of R&D under the key Win32_ComputerSystemProduct. :doh: Yes, silly me! :sigh: So I lived happily everafter.... :-D BTW I have an assembly program which goes through the BIOS searching for a key, and it works! So we figure it works because it runs in a commandbox (DOS box), and the OS sort of emulates a DOS environment with some access to (a copy of) the BIOS. Regards Allan Krings --[ There are 10 kinds of people in the world: those who understand binary and those who dont. ]--

        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