Reputation: 664
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:
but process have many other modules.
Can i get all 32 bit process modules from 64 bit application(C#)?
Thanks!
Upvotes: 0
Views: 1246
Reputation: 283684
Yes, but you'll need 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.
Upvotes: 1
Reputation: 33738
The wow64* modules are the thunking layer to x86. All your x86 modules should show up as being loaded by the thunking modules.
Upvotes: 0