Re: Enumerating 32-bit modules from 32-bit processes in WOW64
- From: "Jochen Kalmbach [MVP]" <nospam-Jochen.Kalmbach@xxxxxxxxx>
- Date: Tue, 14 Jun 2005 07:57:24 +0200
Hi Philip!
Now that it appears that this is at least known behavior (and not something I've screwed up on my own), what I'll want to find out is whether this will be changed in the operating system(s) or not.
I assume that it will not be changed, because this might be a "breaking-change" compared with older (real win32) apps!
Many win32-apps assume that they can load DLLs from the system32 directory; sometimes they have hardcoded the path to this directory.
And GetModuleFileName just returns this (original) path...
So I think it is a good idea to let the behaviour as it is...
Maybe the the fact that some names have the sysWow64 path inside the names is becuase of the way the DLL is loaded (maybe is it is inidrectly loaded, the OS will have to find the correct one... and then it will use the sywow64-directory). But this is just a assumption.
In the meantime, if you or anyone else happens to know whether the x64 behavior is the same as the IA-64 behavior, I am definitely curious.
Sorry, I don´t have an IA64 system... :-<
-- Greetings Jochen
My blog about Win32 and .NET http://blog.kalmbachnet.de/ .
- Follow-Ups:
- Re: Enumerating 32-bit modules from 32-bit processes in WOW64
- From: Philip Sloss
- Re: Enumerating 32-bit modules from 32-bit processes in WOW64
- References:
- Enumerating 32-bit modules from 32-bit processes in WOW64
- From: Philip Sloss
- Re: Enumerating 32-bit modules from 32-bit processes in WOW64
- From: Jochen Kalmbach [MVP]
- Re: Enumerating 32-bit modules from 32-bit processes in WOW64
- From: Philip Sloss
- Re: Enumerating 32-bit modules from 32-bit processes in WOW64
- From: Jochen Kalmbach [MVP]
- Re: Enumerating 32-bit modules from 32-bit processes in WOW64
- From: Philip Sloss
- Enumerating 32-bit modules from 32-bit processes in WOW64
- Prev by Date: how to implement Thread Local Storage (TLS) in kernel
- Next by Date: Re: What is the fastest IPC faculty in Windows 2000 or later?
- Previous by thread: Re: Enumerating 32-bit modules from 32-bit processes in WOW64
- Next by thread: Re: Enumerating 32-bit modules from 32-bit processes in WOW64
- Index(es):