Thread: Segmentation fault!?!?!?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    161
    Ok. This is ........ing me off. Is there something I should know about XP SP3? I can't get ReadProcessMemory to work at all. I either get a 299 or 998 error.

    Edit: I got it to read now, but I still can't get the loop-memcpy method to work. Is there some reason Trying to ReaDProcessMemory starting at 0 seems to throw the 299 every time?
    Last edited by Viper187; 09-22-2008 at 11:48 AM.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by Viper187 View Post
    Ok. This is ........ing me off. Is there something I should know about XP SP3? I can't get ReadProcessMemory to work at all. I either get a 299 or 998 error.
    There's been some discussions before about ReadProcessMemory and protection/privileges. Whils searching for "Error Code 299", I found this thread, which also tells you what that error code means.
    http://cboard.cprogramming.com/showthread.php?p=757973

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Segmentation fault problem
    By odedbobi in forum Linux Programming
    Replies: 1
    Last Post: 11-19-2008, 03:36 AM
  2. Segmentation fault
    By bennyandthejets in forum C++ Programming
    Replies: 7
    Last Post: 09-07-2005, 05:04 PM
  3. Segmentation fault
    By NoUse in forum C Programming
    Replies: 4
    Last Post: 03-26-2005, 03:29 PM
  4. Locating A Segmentation Fault
    By Stack Overflow in forum C Programming
    Replies: 12
    Last Post: 12-14-2004, 01:33 PM
  5. Segmentation fault...
    By alvifarooq in forum C++ Programming
    Replies: 14
    Last Post: 09-26-2004, 12:53 PM