Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Windows 64bit > How to determine DLLs loaded in 64bit process from a 32bit process?

Reply
Thread Tools

How to determine DLLs loaded in 64bit process from a 32bit process?

 
 
Pieter
Guest
Posts: n/a
 
      06-07-2005
How do I determine information on the DLLs that are loaded in a 64bit
process from a 32bit process on WIN64?

If I use PSAPI, I get errors indicating that the virtual memory (of the
64bit process) was only partially read.
The ToolHelp API fails even sooner than the PSAPI API.

My code is similar to the PSAPI example:
http://msdn.microsoft.com/library/de..._a_process.asp


Any ideas?

Pieter


 
Reply With Quote
 
 
 
 
Pavel Lebedinsky [MSFT]
Guest
Posts: n/a
 
      06-08-2005
sizeof(HMODULE) is different on 64 bit so these functions can't
work across 32->64 boundary.

--
This posting is provided "AS IS" with no warranties, and confers no
rights.

"Pieter" wrote:

> How do I determine information on the DLLs that are loaded in a 64bit
> process from a 32bit process on WIN64?
>
> If I use PSAPI, I get errors indicating that the virtual memory (of the
> 64bit process) was only partially read.
> The ToolHelp API fails even sooner than the PSAPI API.
>
> My code is similar to the PSAPI example:
> http://msdn.microsoft.com/library/de..._a_process.asp



 
Reply With Quote
 
 
 
 
Pieter
Guest
Posts: n/a
 
      06-08-2005
Maybe I wasn't specific enough, I want the process- and the DLL path names.

I.e. From my WoW64 WIN32 process, I want to iterate all processes (WoW64
WIN32 and native WIN64) and determine the path to each EXE and each DLL in
that EXE.

Any more ideas?

are different
"Pavel Lebedinsky [MSFT]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> sizeof(HMODULE) is different on 64 bit so these functions can't
> work across 32->64 boundary.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> "Pieter" wrote:
>
>> How do I determine information on the DLLs that are loaded in a 64bit
>> process from a 32bit process on WIN64?
>>
>> If I use PSAPI, I get errors indicating that the virtual memory (of the
>> 64bit process) was only partially read.
>> The ToolHelp API fails even sooner than the PSAPI API.
>>
>> My code is similar to the PSAPI example:
>> http://msdn.microsoft.com/library/de..._a_process.asp

>
>



 
Reply With Quote
 
Darrell Gorter[MSFT]
Guest
Posts: n/a
 
      06-08-2005
Hello Pieter,
You may want to try depends.exe from the support.cab on the cd.
Thanks,
Darrell Gorter[MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
<From: "Pieter" <(E-Mail Removed)>
<References: <(E-Mail Removed)>
<(E-Mail Removed)>
<Subject: Re: How to determine DLLs loaded in 64bit process from a 32bit
process?
<Date: Wed, 8 Jun 2005 11:38:24 -0700
<Lines: 33
<X-Priority: 3
<X-MSMail-Priority: Normal
<X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
<X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
<X-RFC2646: Format=Flowed; Response
<Message-ID: <(E-Mail Removed)>
<Newsgroups:
microsoft.public.win32.programmer.kernel,microsoft .public.windows.64bit.gene
ral
<NNTP-Posting-Host: 65.88.178.10
<Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
<Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.64bit.general:6502
microsoft.public.win32.programmer.kernel:12451
<X-Tomcat-NG: microsoft.public.windows.64bit.general
<
<Maybe I wasn't specific enough, I want the process- and the DLL path names.
<
<I.e. From my WoW64 WIN32 process, I want to iterate all processes (WoW64
<WIN32 and native WIN64) and determine the path to each EXE and each DLL in
<that EXE.
<
<Any more ideas?
<
< are different
<"Pavel Lebedinsky [MSFT]" <(E-Mail Removed)> wrote in message
<news:(E-Mail Removed)...
<> sizeof(HMODULE) is different on 64 bit so these functions can't
<> work across 32->64 boundary.
<>
<> --
<> This posting is provided "AS IS" with no warranties, and confers no
<> rights.
<>
<> "Pieter" wrote:
<>
<>> How do I determine information on the DLLs that are loaded in a 64bit
<>> process from a 32bit process on WIN64?
<>>
<>> If I use PSAPI, I get errors indicating that the virtual memory (of the
<>> 64bit process) was only partially read.
<>> The ToolHelp API fails even sooner than the PSAPI API.
<>>
<>> My code is similar to the PSAPI example:
<>>
http://msdn.microsoft.com/library/de...us/perfmon/bas
e/enumerating_all_modules_for_a_process.asp
<>
<>
<
<
<

 
Reply With Quote
 
Darrell Gorter[MSFT]
Guest
Posts: n/a
 
      06-08-2005
Hello Pieter,
Posted too quickly, after it's open, choose the view menu and select full
paths option to get the pathing to the files.
Thanks,
Darrell Gorter[MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
<X-Tomcat-ID: 542463493
<References: <(E-Mail Removed)>
<(E-Mail Removed)>
<(E-Mail Removed)>
<MIME-Version: 1.0
<Content-Type: text/plain
<Content-Transfer-Encoding: 7bit
<From: http://www.velocityreviews.com/forums/(E-Mail Removed) ("Darrell Gorter[MSFT]")
<Organization: Microsoft
<Date: Wed, 08 Jun 2005 22:01:06 GMT
<Subject: Re: How to determine DLLs loaded in 64bit process from a 32bit
process?
<X-Tomcat-NG: microsoft.public.windows.64bit.general
<Message-ID: <(E-Mail Removed)>
<Newsgroups: microsoft.public.windows.64bit.general
<Lines: 57
<Path: TK2MSFTNGXA01.phx.gbl
<Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.64bit.general:6538
<NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
<
<Hello Pieter,
<You may want to try depends.exe from the support.cab on the cd.
<Thanks,
<Darrell Gorter[MSFT]
<
<This posting is provided "AS IS" with no warranties, and confers no rights
<--------------------
<<From: "Pieter" <(E-Mail Removed)>
<<References: <(E-Mail Removed)>
<<(E-Mail Removed)>
<<Subject: Re: How to determine DLLs loaded in 64bit process from a 32bit
<process?
<<Date: Wed, 8 Jun 2005 11:38:24 -0700
<<Lines: 33
<<X-Priority: 3
<<X-MSMail-Priority: Normal
<<X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
<<X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
<<X-RFC2646: Format=Flowed; Response
<<Message-ID: <(E-Mail Removed)>
<<Newsgroups:
<microsoft.public.win32.programmer.kernel,microsof t.public.windows.64bit.gen
e
<ral
<<NNTP-Posting-Host: 65.88.178.10
<<Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
<<Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.64bit.general:6502
<microsoft.public.win32.programmer.kernel:12451
<<X-Tomcat-NG: microsoft.public.windows.64bit.general
<<
<<Maybe I wasn't specific enough, I want the process- and the DLL path
names.
<<
<<I.e. From my WoW64 WIN32 process, I want to iterate all processes (WoW64
<<WIN32 and native WIN64) and determine the path to each EXE and each DLL
in
<<that EXE.
<<
<<Any more ideas?
<<
<< are different
<<"Pavel Lebedinsky [MSFT]" <(E-Mail Removed)> wrote in message
<<news:(E-Mail Removed)...
<<> sizeof(HMODULE) is different on 64 bit so these functions can't
<<> work across 32->64 boundary.
<<>
<<> --
<<> This posting is provided "AS IS" with no warranties, and confers no
<<> rights.
<<>
<<> "Pieter" wrote:
<<>
<<>> How do I determine information on the DLLs that are loaded in a 64bit
<<>> process from a 32bit process on WIN64?
<<>>
<<>> If I use PSAPI, I get errors indicating that the virtual memory (of
the
<<>> 64bit process) was only partially read.
<<>> The ToolHelp API fails even sooner than the PSAPI API.
<<>>
<<>> My code is similar to the PSAPI example:
<<>>
<http://msdn.microsoft.com/library/de...-us/perfmon/ba
s
<e/enumerating_all_modules_for_a_process.asp
<<>
<<>
<<
<<
<<
<
<

 
Reply With Quote
 
Pieter
Guest
Posts: n/a
 
      06-09-2005
Depends shows static dependency information, this does not meet my
requirements.

I am interested in which processes are running now, and which DLLs are
loaded in those processes.

Any other ideas?

""Darrell Gorter[MSFT]"" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello Pieter,
> Posted too quickly, after it's open, choose the view menu and select full
> paths option to get the pathing to the files.
> Thanks,
> Darrell Gorter[MSFT]
>
> This posting is provided "AS IS" with no warranties, and confers no rights
> --------------------
> <X-Tomcat-ID: 542463493
> <References: <(E-Mail Removed)>
> <(E-Mail Removed)>
> <(E-Mail Removed)>
> <MIME-Version: 1.0
> <Content-Type: text/plain
> <Content-Transfer-Encoding: 7bit
> <From: (E-Mail Removed) ("Darrell Gorter[MSFT]")
> <Organization: Microsoft
> <Date: Wed, 08 Jun 2005 22:01:06 GMT
> <Subject: Re: How to determine DLLs loaded in 64bit process from a 32bit
> process?
> <X-Tomcat-NG: microsoft.public.windows.64bit.general
> <Message-ID: <(E-Mail Removed)>
> <Newsgroups: microsoft.public.windows.64bit.general
> <Lines: 57
> <Path: TK2MSFTNGXA01.phx.gbl
> <Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.64bit.general:6538
> <NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
> <
> <Hello Pieter,
> <You may want to try depends.exe from the support.cab on the cd.
> <Thanks,
> <Darrell Gorter[MSFT]
> <
> <This posting is provided "AS IS" with no warranties, and confers no
> rights
> <--------------------
> <<From: "Pieter" <(E-Mail Removed)>
> <<References: <(E-Mail Removed)>
> <<(E-Mail Removed)>
> <<Subject: Re: How to determine DLLs loaded in 64bit process from a 32bit
> <process?
> <<Date: Wed, 8 Jun 2005 11:38:24 -0700
> <<Lines: 33
> <<X-Priority: 3
> <<X-MSMail-Priority: Normal
> <<X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
> <<X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
> <<X-RFC2646: Format=Flowed; Response
> <<Message-ID: <(E-Mail Removed)>
> <<Newsgroups:
> <microsoft.public.win32.programmer.kernel,microsof t.public.windows.64bit.gen
> e
> <ral
> <<NNTP-Posting-Host: 65.88.178.10
> <<Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
> <<Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.64bit.general:6502
> <microsoft.public.win32.programmer.kernel:12451
> <<X-Tomcat-NG: microsoft.public.windows.64bit.general
> <<
> <<Maybe I wasn't specific enough, I want the process- and the DLL path
> names.
> <<
> <<I.e. From my WoW64 WIN32 process, I want to iterate all processes (WoW64
> <<WIN32 and native WIN64) and determine the path to each EXE and each DLL
> in
> <<that EXE.
> <<
> <<Any more ideas?
> <<
> << are different
> <<"Pavel Lebedinsky [MSFT]" <(E-Mail Removed)> wrote in message
> <<news:(E-Mail Removed)...
> <<> sizeof(HMODULE) is different on 64 bit so these functions can't
> <<> work across 32->64 boundary.
> <<>
> <<> --
> <<> This posting is provided "AS IS" with no warranties, and confers no
> <<> rights.
> <<>
> <<> "Pieter" wrote:
> <<>
> <<>> How do I determine information on the DLLs that are loaded in a 64bit
> <<>> process from a 32bit process on WIN64?
> <<>>
> <<>> If I use PSAPI, I get errors indicating that the virtual memory (of
> the
> <<>> 64bit process) was only partially read.
> <<>> The ToolHelp API fails even sooner than the PSAPI API.
> <<>>
> <<>> My code is similar to the PSAPI example:
> <<>>
> <http://msdn.microsoft.com/library/de...-us/perfmon/ba
> s
> <e/enumerating_all_modules_for_a_process.asp
> <<>
> <<>
> <<
> <<
> <<
> <
> <
>



 
Reply With Quote
 
Jason Durbin
Guest
Posts: n/a
 
      06-09-2005
On Thu, 9 Jun 2005 12:44:08 -0700, "Pieter" <(E-Mail Removed)>
wrote:

>Depends shows static dependency information, this does not meet my
>requirements.
>
>I am interested in which processes are running now, and which DLLs are
>loaded in those processes.
>
>Any other ideas?


How about this?

http://www.sysinternals.com/Utilitie...sExplorer.html

Start up Process Explorer to show active processes, select
View--->Lower Panel View---> DLLs

-jd
j e d @ comcast.net

 
Reply With Quote
 
Pieter
Guest
Posts: n/a
 
      06-09-2005
I am not looking for utilities, I am looking for C++ code.

FYI...
You will notice that process explorer is a WIN32 application, that carries a
WIN64 application as an embedded binary resource.
When executing the WIN32 process on a WIN64 system, the WIN32 process
extracts and launches the embedded WIN64 application.
Thus it is not a WIN32 application that shows the system information, it is
actually a WIN64 application.
They actually go further by also launching a kernel mode driver (also
embedded as a binary resource) to extract other information that is not
directly available in usermode.


"Jason Durbin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Thu, 9 Jun 2005 12:44:08 -0700, "Pieter" <(E-Mail Removed)>
> wrote:
>
>>Depends shows static dependency information, this does not meet my
>>requirements.
>>
>>I am interested in which processes are running now, and which DLLs are
>>loaded in those processes.
>>
>>Any other ideas?

>
> How about this?
>
> http://www.sysinternals.com/Utilitie...sExplorer.html
>
> Start up Process Explorer to show active processes, select
> View--->Lower Panel View---> DLLs
>
> -jd
> j e d @ comcast.net
>



 
Reply With Quote
 
Darrell Gorter[MSFT]
Guest
Posts: n/a
 
      06-09-2005
Hello Pieter,
If just want the dlls names then tasklist /m shows that.
But I am not sure that's everything. It only shows the dlls, not where
they are located.
Thanks,
Darrell Gorter[MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
<From: "Pieter" <(E-Mail Removed)>
<References: <(E-Mail Removed)>
<(E-Mail Removed)>
<(E-Mail Removed)>
<(E-Mail Removed)>
<(E-Mail Removed)>
<Subject: Re: How to determine DLLs loaded in 64bit process from a 32bit
process?
<Date: Thu, 9 Jun 2005 12:44:08 -0700
<Lines: 114
<X-Priority: 3
<X-MSMail-Priority: Normal
<X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
<X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
<X-RFC2646: Format=Flowed; Original
<Message-ID: <(E-Mail Removed)>
<Newsgroups: microsoft.public.windows.64bit.general
<NNTP-Posting-Host: 65.88.178.10
<Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
<Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.64bit.general:6666
<X-Tomcat-NG: microsoft.public.windows.64bit.general
<
<Depends shows static dependency information, this does not meet my
<requirements.
<
<I am interested in which processes are running now, and which DLLs are
<loaded in those processes.
<
<Any other ideas?
<
<""Darrell Gorter[MSFT]"" <(E-Mail Removed)> wrote in message
<news:(E-Mail Removed)...
<> Hello Pieter,
<> Posted too quickly, after it's open, choose the view menu and select full
<> paths option to get the pathing to the files.
<> Thanks,
<> Darrell Gorter[MSFT]
<>
<> This posting is provided "AS IS" with no warranties, and confers no
rights
<> --------------------
<> <X-Tomcat-ID: 542463493
<> <References: <(E-Mail Removed)>
<> <(E-Mail Removed)>
<> <(E-Mail Removed)>
<> <MIME-Version: 1.0
<> <Content-Type: text/plain
<> <Content-Transfer-Encoding: 7bit
<> <From: (E-Mail Removed) ("Darrell Gorter[MSFT]")
<> <Organization: Microsoft
<> <Date: Wed, 08 Jun 2005 22:01:06 GMT
<> <Subject: Re: How to determine DLLs loaded in 64bit process from a 32bit
<> process?
<> <X-Tomcat-NG: microsoft.public.windows.64bit.general
<> <Message-ID: <(E-Mail Removed)>
<> <Newsgroups: microsoft.public.windows.64bit.general
<> <Lines: 57
<> <Path: TK2MSFTNGXA01.phx.gbl
<> <Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.64bit.general:6538
<> <NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
<> <
<> <Hello Pieter,
<> <You may want to try depends.exe from the support.cab on the cd.
<> <Thanks,
<> <Darrell Gorter[MSFT]
<> <
<> <This posting is provided "AS IS" with no warranties, and confers no
<> rights
<> <--------------------
<> <<From: "Pieter" <(E-Mail Removed)>
<> <<References: <(E-Mail Removed)>
<> <<(E-Mail Removed)>
<> <<Subject: Re: How to determine DLLs loaded in 64bit process from a 32bit
<> <process?
<> <<Date: Wed, 8 Jun 2005 11:38:24 -0700
<> <<Lines: 33
<> <<X-Priority: 3
<> <<X-MSMail-Priority: Normal
<> <<X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
<> <<X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
<> <<X-RFC2646: Format=Flowed; Response
<> <<Message-ID: <(E-Mail Removed)>
<> <<Newsgroups:
<>
<microsoft.public.win32.programmer.kernel,microsof t.public.windows.64bit.gen
<> e
<> <ral
<> <<NNTP-Posting-Host: 65.88.178.10
<> <<Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
<> <<Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.64bit.general:6502
<> <microsoft.public.win32.programmer.kernel:12451
<> <<X-Tomcat-NG: microsoft.public.windows.64bit.general
<> <<
<> <<Maybe I wasn't specific enough, I want the process- and the DLL path
<> names.
<> <<
<> <<I.e. From my WoW64 WIN32 process, I want to iterate all processes
(WoW64
<> <<WIN32 and native WIN64) and determine the path to each EXE and each DLL
<> in
<> <<that EXE.
<> <<
<> <<Any more ideas?
<> <<
<> << are different
<> <<"Pavel Lebedinsky [MSFT]" <(E-Mail Removed)> wrote in message
<> <<news:(E-Mail Removed)...
<> <<> sizeof(HMODULE) is different on 64 bit so these functions can't
<> <<> work across 32->64 boundary.
<> <<>
<> <<> --
<> <<> This posting is provided "AS IS" with no warranties, and confers no
<> <<> rights.
<> <<>
<> <<> "Pieter" wrote:
<> <<>
<> <<>> How do I determine information on the DLLs that are loaded in a
64bit
<> <<>> process from a 32bit process on WIN64?
<> <<>>
<> <<>> If I use PSAPI, I get errors indicating that the virtual memory (of
<> the
<> <<>> 64bit process) was only partially read.
<> <<>> The ToolHelp API fails even sooner than the PSAPI API.
<> <<>>
<> <<>> My code is similar to the PSAPI example:
<> <<>>
<>
<http://msdn.microsoft.com/library/de...-us/perfmon/ba
<> s
<> <e/enumerating_all_modules_for_a_process.asp
<> <<>
<> <<>
<> <<
<> <<
<> <<
<> <
<> <
<>
<
<
<

 
Reply With Quote
 
Pieter
Guest
Posts: n/a
 
      06-09-2005
I am not looking for utilities, I am looking for C++ code.

""Darrell Gorter[MSFT]"" <(E-Mail Removed)> wrote in message
news:%23S$(E-Mail Removed)...
> Hello Pieter,
> If just want the dlls names then tasklist /m shows that.
> But I am not sure that's everything. It only shows the dlls, not where
> they are located.
> Thanks,
> Darrell Gorter[MSFT]
>
> This posting is provided "AS IS" with no warranties, and confers no rights
> --------------------
> <From: "Pieter" <(E-Mail Removed)>
> <References: <(E-Mail Removed)>
> <(E-Mail Removed)>
> <(E-Mail Removed)>
> <(E-Mail Removed)>
> <(E-Mail Removed)>
> <Subject: Re: How to determine DLLs loaded in 64bit process from a 32bit
> process?
> <Date: Thu, 9 Jun 2005 12:44:08 -0700
> <Lines: 114
> <X-Priority: 3
> <X-MSMail-Priority: Normal
> <X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
> <X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
> <X-RFC2646: Format=Flowed; Original
> <Message-ID: <(E-Mail Removed)>
> <Newsgroups: microsoft.public.windows.64bit.general
> <NNTP-Posting-Host: 65.88.178.10
> <Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
> <Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.64bit.general:6666
> <X-Tomcat-NG: microsoft.public.windows.64bit.general
> <
> <Depends shows static dependency information, this does not meet my
> <requirements.
> <
> <I am interested in which processes are running now, and which DLLs are
> <loaded in those processes.
> <
> <Any other ideas?
> <
> <""Darrell Gorter[MSFT]"" <(E-Mail Removed)> wrote in message
> <news:(E-Mail Removed)...
> <> Hello Pieter,
> <> Posted too quickly, after it's open, choose the view menu and select
> full
> <> paths option to get the pathing to the files.
> <> Thanks,
> <> Darrell Gorter[MSFT]
> <>
> <> This posting is provided "AS IS" with no warranties, and confers no
> rights
> <> --------------------
> <> <X-Tomcat-ID: 542463493
> <> <References: <(E-Mail Removed)>
> <> <(E-Mail Removed)>
> <> <(E-Mail Removed)>
> <> <MIME-Version: 1.0
> <> <Content-Type: text/plain
> <> <Content-Transfer-Encoding: 7bit
> <> <From: (E-Mail Removed) ("Darrell Gorter[MSFT]")
> <> <Organization: Microsoft
> <> <Date: Wed, 08 Jun 2005 22:01:06 GMT
> <> <Subject: Re: How to determine DLLs loaded in 64bit process from a
> 32bit
> <> process?
> <> <X-Tomcat-NG: microsoft.public.windows.64bit.general
> <> <Message-ID: <(E-Mail Removed)>
> <> <Newsgroups: microsoft.public.windows.64bit.general
> <> <Lines: 57
> <> <Path: TK2MSFTNGXA01.phx.gbl
> <> <Xref: TK2MSFTNGXA01.phx.gbl
> microsoft.public.windows.64bit.general:6538
> <> <NNTP-Posting-Host: tomcatimport2.phx.gbl 10.201.218.182
> <> <
> <> <Hello Pieter,
> <> <You may want to try depends.exe from the support.cab on the cd.
> <> <Thanks,
> <> <Darrell Gorter[MSFT]
> <> <
> <> <This posting is provided "AS IS" with no warranties, and confers no
> <> rights
> <> <--------------------
> <> <<From: "Pieter" <(E-Mail Removed)>
> <> <<References: <(E-Mail Removed)>
> <> <<(E-Mail Removed)>
> <> <<Subject: Re: How to determine DLLs loaded in 64bit process from a
> 32bit
> <> <process?
> <> <<Date: Wed, 8 Jun 2005 11:38:24 -0700
> <> <<Lines: 33
> <> <<X-Priority: 3
> <> <<X-MSMail-Priority: Normal
> <> <<X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
> <> <<X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
> <> <<X-RFC2646: Format=Flowed; Response
> <> <<Message-ID: <(E-Mail Removed)>
> <> <<Newsgroups:
> <>
> <microsoft.public.win32.programmer.kernel,microsof t.public.windows.64bit.gen
> <> e
> <> <ral
> <> <<NNTP-Posting-Host: 65.88.178.10
> <> <<Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
> <> <<Xref: TK2MSFTNGXA01.phx.gbl
> microsoft.public.windows.64bit.general:6502
> <> <microsoft.public.win32.programmer.kernel:12451
> <> <<X-Tomcat-NG: microsoft.public.windows.64bit.general
> <> <<
> <> <<Maybe I wasn't specific enough, I want the process- and the DLL path
> <> names.
> <> <<
> <> <<I.e. From my WoW64 WIN32 process, I want to iterate all processes
> (WoW64
> <> <<WIN32 and native WIN64) and determine the path to each EXE and each
> DLL
> <> in
> <> <<that EXE.
> <> <<
> <> <<Any more ideas?
> <> <<
> <> << are different
> <> <<"Pavel Lebedinsky [MSFT]" <(E-Mail Removed)> wrote in
> message
> <> <<news:(E-Mail Removed)...
> <> <<> sizeof(HMODULE) is different on 64 bit so these functions can't
> <> <<> work across 32->64 boundary.
> <> <<>
> <> <<> --
> <> <<> This posting is provided "AS IS" with no warranties, and confers no
> <> <<> rights.
> <> <<>
> <> <<> "Pieter" wrote:
> <> <<>
> <> <<>> How do I determine information on the DLLs that are loaded in a
> 64bit
> <> <<>> process from a 32bit process on WIN64?
> <> <<>>
> <> <<>> If I use PSAPI, I get errors indicating that the virtual memory
> (of
> <> the
> <> <<>> 64bit process) was only partially read.
> <> <<>> The ToolHelp API fails even sooner than the PSAPI API.
> <> <<>>
> <> <<>> My code is similar to the PSAPI example:
> <> <<>>
> <>
> <http://msdn.microsoft.com/library/de...-us/perfmon/ba
> <> s
> <> <e/enumerating_all_modules_for_a_process.asp
> <> <<>
> <> <<>
> <> <<
> <> <<
> <> <<
> <> <
> <> <
> <>
> <
> <
> <
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
DLLs being loaded for all applications Rich Windows 64bit 0 03-06-2010 03:49 PM
32bit java app on 64bit platform satinder.sethi@gmail.com Java 3 11-12-2005 02:23 AM
Function pointers and dynamically loaded DLLs Domer C++ 1 02-21-2005 08:53 PM
difference between xp 32bit and 64bit???? William E. Storey II Computer Support 10 08-16-2003 08:49 AM



Advertisments