On Jul 29, 9:12 am, [EMAIL PROTECTED] (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, [EMAIL PROTECTED] (Happytown) wrote:
>
> > On Jul 26, 3:14 am, [EMAIL PROTECTED] (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


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to