Click to See Complete Forum and Search --> : PDH


Praveen_KV
April 20th, 1999, 07:37 AM
Hi,

How can I list the processes in my machine as in Task Manager?
Ca I use PdhEnumObjects?
I got an error saying Pdh.dll not found in VC++ 5.0?
Any suggestions?

April 20th, 1999, 08:57 AM
Read about the following fns 1. CreateToolHelp32SnapShot 2. Process32First 3. Process32Next and try.
Reply me whether u are able to use it or not.

Praveen_KV
April 22nd, 1999, 03:47 AM
The mentioned functions are Windows 95 specific.I want to use with NT.

April 22nd, 1999, 04:25 AM
Hi !

You can use function from the PSAPI.DLL to the NT-Process and
VDMDBG.DLL to the DOS-Process.

Regards,
Wladi.

April 30th, 1999, 09:56 AM
Hi,

You can find pdh.dll in the ddk. (and maybe in the sdk)

Ashley Antony
May 1st, 1999, 01:07 AM
Please find my reply for the query "Terminating another Process in WIn95/98/NT" dated 29th April.

Ashley.Antony@in.bosch.com