MemoryX icon indicating copy to clipboard operation
MemoryX copied to clipboard

System.AccessViolationException

Open ProfessorQu opened this issue 4 years ago • 2 comments

It says that it can't read the memory, and that it is protected. How do I remove protection?

ProfessorQu avatar Oct 08 '20 13:10 ProfessorQu

I think the first is try to run an executable with an administrator because sometimes the process you trying to access is running as an administrator, so you need an executable process that runs with the admin mode to access the target process.

If the problem still there, just try to use the RemoveProtection function.

ayuthmang avatar Oct 08 '20 14:10 ayuthmang

You'd have to make sure the project's current platform build is set to what architecture you're debugging to (x64/x86).

I think this is only necessary when using .NET framework, but I'm not too sure.

recore67 avatar Feb 17 '24 15:02 recore67