Thread: Memory Editing

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Bioport Productions
    Join Date
    Oct 2005
    Posts
    215
    I don't know what exactly you're trying to do but have you tried using ReadProcessMemory/WriteProcessMemory ? As far as I know, you don't need an privileges to use them and they work on all windows programs.
    -"What we wish, we readily believe, and what we ourselves think, we imagine others think also."
    PHP Code:
    sadf 

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    206
    Quote Originally Posted by durban
    I don't know what exactly you're trying to do but have you tried using ReadProcessMemory/WriteProcessMemory ? As far as I know, you don't need an privileges to use them and they work on all windows programs.
    Can't WriteProcessMemory or ReadProcessMemory without the correct handle.

    For example.
    This grabs the ReadProcessMemory handle:
    Code:
    m_hProcess = ::OpenProcess(PROCESS_VM_READ, false, _PID)

    This grabs the WriteProcessMemory handle:
    Code:
    m_hProcess = ::OpenProcess(PROCESS_VM_WRITE, false, _PID)
    My access to the handle is denied with PROCESS_VM_WRITE. And I can't write anything without the handle.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  2. Suggestions on this C style code
    By Joelito in forum C Programming
    Replies: 11
    Last Post: 06-07-2007, 03:22 AM
  3. Relate memory allocation in struct->variable
    By Niara in forum C Programming
    Replies: 4
    Last Post: 03-23-2007, 03:06 PM
  4. Copying memory, pointers and the like.
    By psychopath in forum C++ Programming
    Replies: 34
    Last Post: 12-12-2006, 01:37 PM
  5. Shared Memory - shmget questions
    By hendler in forum C Programming
    Replies: 1
    Last Post: 11-29-2005, 02:15 AM