windows - WriteProcessMemory ERROR_PARTIAL_COPY 299 -


I am trying to write in the memory of the second process, I will allow it with permission 38h (VM_APRRATION, VMIID, VM_Virate) Open up So I use the VirtualProtectEx with 4h (PAGE_READWRITE), but I also tried the PAGE_EXECUTEREADWRITE - the same error later.

Then I have called ReadProcessMemory, and have successfully read the value of a fixed address. But as I tried to write with written process memory on that address, I get error code 299 - ERROR_PARTIAL_COPY is.

Does anyone know the way to solve this?

Edit: Hull - Enter the buffer as a reference but as the value


Comments