To make a hook I know, I do the following (dummy variables):
MSGBOX:=GetProcAddress(GetModuleHandle('kernel32.dll'),'MessageBox');
ReadProcessMemory(INVALID_HANDLE_VALUE,MSGBOX,@OldMSG,sizeof(oldcode),b);
Jmpmsg.push:=$68;
Jmpmsg.PProc:...
asked on
27.11.2015 / 02:30