Home All Groups Group Topic Archive Search About

Process.Modules has different behaviour on 64bit system and FW2

Author
8 Feb 2006 12:37 PM
Tamir
Hi all.
I've encountered a weird scenario when accessing Process.Modules on
2003 64bit.

What i'm trying to do is access all the dll's loaded for a certain
process, analize which one of them is a .net one, and for each .net
module, load the classes it contains ( by loading assembly).
Now when running my program compiled in 1.1FW, i get the correct list
of dll's by on loading i get an exception of "Version 2 is not
compatible" (which is not good cause i can't access the modules)
If i compile my program in 2FW (visual studio 2005), The list of
modules i get consists of only 5 modules : all three wow64, ntdll.dll
(ver 64) and the image name itself.

Any one has an idea how to access the original dll's loaded for that
process ?! (like happens when i run it of FW1.1) ?!

Thanks
Tamir.

AddThis Social Bookmark Button