You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(IntPtr.Size==4){DInvoke.ManualMap.Overload.OverloadModule("C:\\Windows\\SysWOW64\\kernel32.dll","C:\\Windows\\SysWOW64\\kernel32.dll");//does not workDInvoke.ManualMap.Overload.OverloadModule("C:\\Windows\\SysWOW64\\ntdll.dll","C:\\Windows\\SysWOW64\\ntdll.dll");//works}else{DInvoke.ManualMap.Overload.OverloadModule("C:\\Windows\\System32\\ntdll.dll");DInvoke.ManualMap.Overload.OverloadModule("C:\\Windows\\System32\\kernel32.dll");}
The code above works partially for 32 bit except with kernel32. I got : Failed to change memory protection, NotCommitted
Hello,
I tried the dll with x64 executables and it works fine. However, it does not work with x86 (wow64) executables.
Any idea ?
Here is my code :
Error is : 'Failed to open file, ObjectNameInvalid'
It occurs with : '>DInvoke.DynamicInvoke.Native.NtOpenFile(ref System.IntPtr FileHandle, DInvoke.Data.Win32.Kernel32.FileAccessFlags DesiredAccess, ref DInvoke.Data.Native.OBJECT_ATTRIBUTES ObjAttr, ref DInvoke.Data.Native.IO_STATUS_BLOCK IoStatusBlock, DInvoke.Data.Win32.Kernel32.FileShareFlags ShareAccess, DInvoke.Data.Win32.Kernel32.FileOpenFlags OpenOptions)
'
The text was updated successfully, but these errors were encountered: