Results 1 to 5 of 5

Thread: Toolhelp32ReadProcessMemory

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263

    Exclamation

    Can someone give me an example of how to properly execute Toolhelp32ReadProcessMemory? Thanks.

  2. #2
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ottawa,ON,Canada
    Posts
    217
    Try searching this site, there's been a few really good examples in the paste few days.
    Dan PM
    Analyst Programmer

    VB6 SP3 (also VB4 16-bit sometimes )

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263

    Unhappy No good.

    There are no matches for the exact call "Toolhelp32ReadProcessMemory". I know I can list all of the processes and modules using CreateToolhelp32Snapshot, but for some reason it ends up missing some running processes. I think that Toolhelp32ReadProcessMemory will get specific info for a single process without cycling through all the other available processes, and I believe I can use this call with some other code I have to get all the processes and modules.

    However now that someone has replied to this post, no one will read it again. Ohwell, I'll just have to re-post.

  4. #4
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ottawa,ON,Canada
    Posts
    217

    Thumbs up

    Take it easy bud, relax. I don't know where you got your info on the Toolhelp32ReadProcessMemory, but I don't think it does what you think it does. You use this function to copy memory from another process into a buffer defined by your application. You can read up on this at MSDN as well as all of the other Toolhelp32 functions.

    Just remember to keep your cool bud, we're all friends here.
    Dan PM
    Analyst Programmer

    VB6 SP3 (also VB4 16-bit sometimes )

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263
    You think I'm getting a little crazed, eh!? Well, I'm not, I'm quite relaxed. I looked up the call on MSDN, I don't know I just thought I could use it to get a single process' information, instead of cycling through all of them. Alright, thanks for your time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width