Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help DebugActiveProcess :x

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
NooBpluSS
Cheater
Reputation: 0

Joined: 24 Jun 2007
Posts: 37

PostPosted: Tue Sep 29, 2009 9:26 am    Post subject: Help DebugActiveProcess :x Reply with quote

Hi again, i have another error...

i do a memory breakpoint using CreateProcess (if anyone is interested, talk to me).

But i wanna use DebugActiveProcess.

When i use CreateProcess (debug_only_this_process, ps: i get process_information), i use 'Create_process_debug_event' to get the context, set bp dr0/dr7 and get excpetion_single_step for make anything.

Code:


    Create_process_debug_event:
    Begin


      ctx.ContextFlags := context_debug_registers;
      GetThreadContext( PROCESSINFORMATION.hThread, ctx);
// any
      SetThreadContext( PROCESSINFORMATION.hThread, ctx);

    end;



*Processinformation.hThread is the correct thread.

But if i use DebugActiveProcess, i havent process_information, and if i set dr0/dr7 nothing happens.

How i use DebugActiveProcess and can set a breakpoint on all threads or correct thread?

tks!

_________________

Newbie cheater ;]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites