Ok so you want to edit this:
Code:
Public Declare Function GetWindowThreadProcessId Lib "user32"
You need to add this after "user32":
Code:
Alias "GetWindowThreadProcessId"
Then edit GetWindowThreadProcessId so your code will look like this:
Code:
Public Declare Function edited string Lib "user32" Alias "GetWindowThreadProcessId"
Do the exact samething with the following strings:
Code:
OpenProcess
WriteProcessMemory
CloseHandle
Because:
Code:
FindWindowA
GetAsyncKeyState
ReadProcessMemory
Already have the Alias parts so you can just change the function names.