摘要: [DllImport("user32")] private static extern int SetForegroundWindow(IntPtr hwnd); [DllImport("user32")] private static extern IntPtr FindWindow(string 阅读全文
posted @ 2020-05-21 16:32 JeasonX 阅读(219) 评论(0) 推荐(0)
摘要: 昨天写了个.net程序,通过调用win32 API,往win32程序中注入dll。发现win32 API的调用都是成功的,但就是hook不上。通过观察发现,.net程序是Any CPU模式,IntPtr是8位的。 GetProcAddress(GetModuleHandleA("Kernel32") 阅读全文
posted @ 2020-04-27 09:00 JeasonX 阅读(302) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示