I have 2 questions about the WriteProcessMemory function.
If i want to write 6 adjacent bytes all to the value of 0x90, do i just do this:
WriteProcessMemory(HProcess, (LPVOID)ADDRESS, &Patch, 6, NULL)
Where Patch = 0x90.
My second question: is the base address param in WriteProcessMemory relative to the beginning address of the program or is it relative to the entire computers memory?
Thanks for any help.



LinkBack URL
About LinkBacks



