I'm sure thats right address and type, of course in my source was little mistake, it should be:
Code:
hProcess = OpenProcess(PROCESS_ALL_ACCESS, false, processId);
But it still doesn't work, I downloaded Delphi source, reading memory is very similar - I use same address and type and in Delphi I got right values, but in this downloaded source there are many lines which I don't understand
in my code , to get wow process id, i only use this:
Code:
hWnd = FindWindow(0, "World of Warcraft");
GetWindowThreadProcessId(hWnd, &processId);
the problem is also with reading another things from wow memory,
could someone gimme mini example code how to do it in right way?