How about using WMI to register and event that get's notified of new processes?
 
I found this reference page:
http://weblogs.foxite.com/stuartdunkeld/archive/2005/09/16/915.aspx
 

\\Greg

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hansen
Sent: Thursday, June 08, 2006 8:39 AM
To: perl-win32-users@listserv.ActiveState.com
Subject: Second Question-best way to enumerate Process

There are several methods to enumerating processes.  Not only the entire system process, but those running in the user's own memory space.  Using WMI, Lanman, Perflib, etc.  Which is the best way to go?  Also, instead of running through a process list a half a dozen times until the app has loaded, lets say CMD.EXE, is there a way to catch a signal from the system that says an app has started and what it is, PID, maybe user, etc?

Thanks again.
 
Jim

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to