ReadProcessMemory(hProc,(LPCVOID)(7845CDDC),&PHP,4,NULL);
When I enter that i get this error in Dev-C++ Win32 :
C:\Dev-Cpp\main.cpp invalid suffix "CDDC" on integer constant
any idea why?
You probably want a hex constant, that is to say 0x7845CDDC
.
ReadProcessMemory(hProc,(LPCVOID)(0x7845CDDC),&PHP,4,NULL);