Posted: Sat May 29, 2021 4:13 am Post subject: Hi again ,cannot get WriteProcessMemory to work in c#
I have already posted a question related to this one
in the General Programming Thread.
I have tried to change the Protection from PAGE_READWRITE to
PAGE_READWRITE_EXECUTE ,but to no success.
Strangely GetLastWin32Error returns 0 ,which is success I think.
Joined: 25 Jan 2006 Posts: 8518 Location: 127.0.0.1
Posted: Wed Jun 02, 2021 9:05 pm Post subject:
There is no need to make multiple topics for the same issue, just continue posting in the first in the future.
You should debug your full app and walk through each part, see if anything else is failing and returning a bad value. If GetLastWin32Error is returning 0, are you certain WriteProcessMemory is actually failing? _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum