Re: getting process id under NT
- From: rkb@xxxxxxxxxx (Ron Bergin)
- Date: Tue, 29 Jul 2008 20:09:41 -0700 (PDT)
On Jul 29, 9:12 am, callingel...@xxxxxxxxxx (Epanda) wrote:
Hi HappyTown
I have seen your web link but I don't think it can show me the PID if
I give the name of an existing and running Win NT application.
On 28 juil, 05:24, wxr...@xxxxxxxxx (Happytown) wrote:
On Jul 26, 3:14 am, callingel...@xxxxxxxxxx (Epanda) wrote:
Hi,
I would like to know if it is possible to get win32 process ID under
Windows NT without using Win32::OLE because this one does not work
under NT.
Thanks
Maybe, this module can help you:http://search.cpan.org/~cosimo/Win32-API-0.55/API.pm
Win32::API will do what you need, however, it's not the easiest to
use. Getting the process info requires calling several (about 5)
different C functions in kernel32.dll and setting up the function
calls can be tricky.
It would be easier and better to use Win32::Process::Info (which uses
Win32::API) and let it deal with setting up the function calls.
http://search.cpan.org/~wyant/Win32-Process-Info-1.012/lib/Win32/Process/Info.pm
.
- Follow-Ups:
- Re: getting process id under NT
- From: Happytown
- Re: getting process id under NT
- References:
- getting process id under NT
- From: Epanda
- Re: getting process id under NT
- From: Happytown
- Re: getting process id under NT
- From: Epanda
- getting process id under NT
- Prev by Date: RE: Checking to see if file exists.
- Next by Date: reading a few bytes into a file
- Previous by thread: Re: getting process id under NT
- Next by thread: Re: getting process id under NT
- Index(es):
Relevant Pages
|