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 


Opening a process.

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

Joined: 08 Oct 2006
Posts: 26

PostPosted: Fri Feb 16, 2007 7:28 am    Post subject: Opening a process. Reply with quote

i am trying to attach a program i have written to MapleStory using the following method:
FindWindow()
GetWindowThreadProcessID()
OpenProcess()

However the ThreadProcessID is not being returned with the API Call.

I have tested this method on DukeNukem3D and it worked fine, however I think Gameguard is somehow blocking the GetWindowThreadProcessID() API

Does anyone have any suggestions on how to open the process?

EDIT:
ok, i found a way to get the WindowThreadProcessID, all though i don't paticularly like it and am still looking for a better way.


method im using:
Dim RetVal as long
retval=(shell("C:\Maplestory\MapleStory.exe",1))


retval holds the PorcessID, so i can then open the process, however i don't want to have to shell MS, i want to be able to open the process the way CE does, could someone pls explain how this works?
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 Gamehacking 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