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 


Send mouse press and keyboard's keys to Gunbound

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

Joined: 16 Feb 2006
Posts: 786
Location: Singapore

PostPosted: Mon Nov 17, 2008 11:26 pm    Post subject: Send mouse press and keyboard's keys to Gunbound Reply with quote

I tried to use the hookHop.dll.
But it works but I can only press the buddy list but others like server list, room.

I tried
FindWindow('Softnyx',nil);

and

FindWindow('Softnyx','Gunbound');

and

FindWindow(nil,'Gunbound');

all the same....
Back to top
View user's profile Send private message
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Tue Nov 18, 2008 3:50 pm    Post subject: Reply with quote

In C++ it is
Code:
HWND hWnd = FindWindow(NULL, "Gunbound");

It is class name first, then window name.

also try this
Code:
if (!hWnd) {std::cout << "Didn't find it" << std::endl; }

_________________
What dosen't kill you, usually does the second time.
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