private99
asked on
Process viewer
Does anyone know how to capture the process path when an new
application is activated? Some sort like the process viewer program in the viscual C++.
Thanks.
application is activated? Some sort like the process viewer program in the viscual C++.
Thanks.
ASKER
yap....l want to monitor and capture all currently running process(new application) with programs full path name.l am using VC++.
Thanks.
Thanks.
There are two different approaches for win95/98/NT5 on the one hand and for winNT4 on the other hand.
If you need this to run only for win95/98/NT5 you'll have to use the toolhelp functions.
If you need it to run only for winNT4, you'll have to use the "psApi.dll" functions (for NT5 you can use both methods).
If you need it to run for all systems, you'll have to implement both methods.
The problem is: I'm programming in Delphi. You could download my "enumStuff" Delphi unit from my homepage "http://www.madshi.com" in the "sources" section, but I don't know if you are able to convert the sources... :-(
However, AFAIK, you could download the process viewer's sources directly from Microsoft (www.microsoft.com). But the process viewer works only for winNT, or am I wrong?
Regards, Madshi.
If you need this to run only for win95/98/NT5 you'll have to use the toolhelp functions.
If you need it to run only for winNT4, you'll have to use the "psApi.dll" functions (for NT5 you can use both methods).
If you need it to run for all systems, you'll have to implement both methods.
The problem is: I'm programming in Delphi. You could download my "enumStuff" Delphi unit from my homepage "http://www.madshi.com" in the "sources" section, but I don't know if you are able to convert the sources... :-(
However, AFAIK, you could download the process viewer's sources directly from Microsoft (www.microsoft.com). But the process viewer works only for winNT, or am I wrong?
Regards, Madshi.
ASKER
Edited text of question
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Adjusted points to 60
Regards, Madshi.