Re: getting process id under NT



On Jul 30, 11:09 am, r...@xxxxxxxxxx (Ron Bergin) wrote:
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/Proc...- Hide quoted text -

- Show quoted text -

Yes, you're right.

.



Relevant Pages

  • Re: Explorer crashes at least once all the time
    ... Do you really want to trust someone that was banned from posting ... And do you really want to trust someone that has had to change their ... Calling an illegal alien an "undocumented worker" is like calling a ... A .dll file is a special type of Windows program ...
    (microsoft.public.windowsxp.general)
  • RE: Internet Connection Wizard failing at Firewall Config and Secu
    ... Enhanced Security Configuration from Add/Remove Windows Components to ... | calling CNetCommit::ValidateFulltimeConnectionProperties. ... | Call to Reading web publishing selection returned ok. ... | Call to Configuring for fulltime connection returned ok. ...
    (microsoft.public.windows.server.sbs)
  • Re: Windows Server 2003 SP2 causes CEICW to fail?
    ... During my server reboot at lunch time today, I noticed that when windows ... restarted it came up with an error message saying that CEICW was blocked ... calling CRFireCommit::ValidatePropertyBag. ... Call to Reading web publishing selection returned ok. ...
    (microsoft.public.windows.server.sbs)
  • Re: Creating a C++ like message loop in .NET threaded classes.
    ... Just grab your good ol' C++ message loop knowledge and write the same code in .NET, calling API functions such as GetMessage and DispatchMessage through P/Invoke. ... control over Windows message processing (or maybe it's in the .NET and I ... Now I don't necessarily want the code of these members ... the object processes the message when its thread is ...
    (microsoft.public.dotnet.framework)
  • RE: Remote access wizard keeps failing
    ... C:\Program Files\Microsoft Windows Small Business ... Calling CRRASCommit::ValidatePropertyBag ... Reading property value for enabling Remote Access returned OK ...
    (microsoft.public.windows.server.sbs)