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 


Getting access to other programs with C++

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
BobbyDragon
How do I cheat?
Reputation: 0

Joined: 18 Oct 2007
Posts: 4

PostPosted: Fri Oct 19, 2007 2:33 pm    Post subject: Getting access to other programs with C++ Reply with quote

Alright, how it happens?

Here is an example:
I want my C++ program to get access for a certain Messenger window, so i can see if he types and program could even write messages to him, like MSNBot. So, how is it possible to get access to other programs?

And yes, i have experience of programming C++, i just never have find help to these kinda things.

Im usin Dev-C++ but if it isn't possible with it, you can suggest other compilers too.


Thanks!
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Fri Oct 19, 2007 2:41 pm    Post subject: Reply with quote

use handles to get the messenger window then use SendMessage function to send messages to the button windows and textbox.

hWnd = FindWindow("ClassName", "MsnMessengerWindowTitle");

really basic, ClassName can be null but if you plan on sending messages to the button or textbox you'll need the classnames.

if you have the exact classname you can put null in the second param and it will search all classes registered with RegisterClass(Ex)

_________________
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