[英]Retrieving all 32 bit process modules from 64 bit application (C#)
I have a 64 bit program that retrieving process modules from other processes but when i try to get modules form 32 bit processes i get only: 我有一个从其他进程中检索进程模块的64位程序,但是当我尝试从32位进程中获取模块时,我只会得到:
but process have many other modules. 但是过程还有许多其他模块。
Can i get all 32 bit process modules from 64 bit application(C#)? 我可以从64位应用程序(C#)中获得所有32位处理模块吗?
Thanks! 谢谢!
Yes, but you'll need p/invoke. 是的,但是您需要p / invoke。
It's possible that the DbgHelp API could be coaxed to do this, but I've been told that despite having appropriately-sized structures, it returns only the 64-bit WOW64 emulation layer DLLs when called against a Win32-on-Win64 process. 可以哄骗DbgHelp API来执行此操作,但是有人告诉我,尽管具有适当大小的结构,但在对Win32-on-Win64进程进行调用时,它仅返回64位WOW64仿真层DLL。
The wow64* modules are the thunking layer to x86. wow64 *模块是x86的改进层。 All your x86 modules should show up as being loaded by the thunking modules. 您的所有x86模块应该显示为被thunk模块加载。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.