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 


.NET Is there a way to spy on other programs?

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

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sat Aug 29, 2009 8:25 am    Post subject: .NET Is there a way to spy on other programs? Reply with quote

Ok so like is there a way to make a bot that checks whenever a active program is requesting an input?
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sat Aug 29, 2009 11:05 am    Post subject: Reply with quote

what do you mean 'requesting an input' ?
Back to top
View user's profile Send private message
&Vage
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Sat Aug 29, 2009 11:35 am    Post subject: Reply with quote

I guess just create a hook in their message callback, and you can modify or read stack data from there. But that would require you being in that process's memory space, so I don't think it'll be possible with C# or any other .NET languages. I'm assuming that you mean, they're checking for messages.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sat Aug 29, 2009 11:57 am    Post subject: Reply with quote

void:] wrote:
I guess just create a hook in their message callback, and you can modify or read stack data from there. But that would require you being in that process's memory space, so I don't think it'll be possible with C# or any other .NET languages. I'm assuming that you mean, they're checking for messages.

or of course you could take the easier, smarter option of SetWindowsHookEx()
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Aug 29, 2009 3:46 pm    Post subject: Re: .NET Is there a way to spy on other programs? Reply with quote

KaninKnull wrote:
Ok so like is there a way to make a bot that checks whenever a active program is requesting an input?


you most definitely want SetWindowsHookEx()
http://msdn.microsoft.com/en-us/library/ms644990%28VS.85%29.aspx

e: fffffuck didn't bother to check other replies, i lose.
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