Game Crahsed When Editing Memory Directly
first,sorry my bad english 
WriteProcessMemory Funtion is not work for gg antihack.So i used this code:
and then my game is crash,while i'm using this code:
it's working.
plz tell me how to writeprocessmemory work for it,thanks

WriteProcessMemory Funtion is not work for gg antihack.So i used this code:
Code:
*(DWORD*)0x1111111 = 5;
Code:
Y=*(DWORD*)(0xmy address); sprintf (s,"%d",Y); MessageBox (0,s,"Doc memory",0);
plz tell me how to writeprocessmemory work for it,thanks
.
