Macka Cheater
Reputation: 0
Joined: 08 Oct 2006 Posts: 26
|
Posted: Fri Feb 16, 2007 7:28 am Post subject: Opening a process. |
|
|
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?
|
|