RossettoeCioccolato
2006-07-29 06:47:50 UTC
Would someone please explain to me how TH32CS_SNAPMODULE and
TH32CS_SNAPMODULE32 are supposed to work on amd64. I am using them with
CreateToolhelp32Snapshot both with native amd64 and under wow64 on Windows
Longhorn Server beta 2. When I use them within a native amd64 application
both flags always succeed but the snap with TH32CS_SNAPMODULE32 is always
empty. When I use them under wow64, CreateToolhelp32Snapshot always fails
when the pid is for a native amd64 app and always succeeds when the PID is
for an x86 process. However, the call with with TH32CS_SNAPMODULE32 once
again always is empty. This isn't the way that it was explained at
http://groups.google.com/group/microsoft.public.win32.programmer.kernel/browse_thread/thread/78181c4c75912255/c9696cfcf269530c?lnk=st&q=&rnum=1&hl=en#c9696cfcf269530c.
Am I supposed to use a different sized (i.e. 32-bit) structure when using
the TH32CS_SNAPMODULE32 on native amd64 or under wow64?
Regards,
George.
TH32CS_SNAPMODULE32 are supposed to work on amd64. I am using them with
CreateToolhelp32Snapshot both with native amd64 and under wow64 on Windows
Longhorn Server beta 2. When I use them within a native amd64 application
both flags always succeed but the snap with TH32CS_SNAPMODULE32 is always
empty. When I use them under wow64, CreateToolhelp32Snapshot always fails
when the pid is for a native amd64 app and always succeeds when the PID is
for an x86 process. However, the call with with TH32CS_SNAPMODULE32 once
again always is empty. This isn't the way that it was explained at
http://groups.google.com/group/microsoft.public.win32.programmer.kernel/browse_thread/thread/78181c4c75912255/c9696cfcf269530c?lnk=st&q=&rnum=1&hl=en#c9696cfcf269530c.
Am I supposed to use a different sized (i.e. 32-bit) structure when using
the TH32CS_SNAPMODULE32 on native amd64 or under wow64?
Regards,
George.