How do I read a string from the memory of a running process
I’m trying to read a string from a memory area. I am extremely inexperience with C++ but wrote some software that manages to identify a process and read an integer from memory.
c# kernel32.dll readprocessmemory windows 11 returns error 299
I’ve implemented the ReadProcessMemory function from kernel32.dll using C# PInvoke. Compiling and installing on Windows 10 it functions flawlessly. However, installing the same program in Windows 11, it throws error 299 both in running with administrator privileges and not.