Relative Content

Tag Archive for c#readprocessmemory

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.