|
-
June 29th, 1999, 01:29 PM
#1
Help PLEASE! Task Manager Manipulation
I am looking for a way to incorporate a function inside of my win32 application to query the NT task manager for certain *.exe executables to see if a particular application is up and running. Keep in mind, the CWnd::FindWindow() function will NOT work because I am looking for an non-windows executable, that is running (it's run only via the MS-DOS side). How can I go about inserting functionality inside my "manager" application to query the 1st column in the Task Manager area to my application and have a checkbox to be checked off if the executable is actually running?
I am in desperate help and need. Please advise. I can't continue my project until I find this.
Thanks!
SFoster73
-
June 29th, 1999, 02:28 PM
#2
Re: Help PLEASE! Task Manager Manipulation
you don't need to even query task manager...just use GetProcAddress (i think that's the function) it takes a string specifying the process to get the address of...if you specify a process that isn't running, it'll return NULL.
miked
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|