Here is my problem, when i use the following code:
Process hProcess = (.....);
foreach (ProcessModule m in hh.Modules)
Console.WriteLine(m.ModuleName + " - " + m.BaseAddress);
On a 32bits machine I get like 20 different values, those are the ones I use further in my program.
However in a 64bits machine I only get: myexe.exe, ntdll.dll, wow64.dll, wow64win.dll and wow64cpu.dll.
I also tried EnumProcessModules, but got the same result.
How may I get the correct values I need?
My .NET exe is compiled at 32bits and the target process is also 32bits.
Thanks, Best Regards,
View Complete Post