CodeGuru
Earthweb Search
Forums Wireless Jars Gamelan Developer.com
CodeGuru Navigation
RSS Feeds

RSSAll

RSSVC++/C++

RSS.NET/C#

RSSVB

See more EarthWeb Network feeds

follow us on Twitter

Member Sign In
User ID:
Password:
Remember Me:
Forgot Password?
Not a member?
Click here for more information and to register.

Become a Marketplace Partner

jobs.internet.com

internet.commerce
Partners & Affiliates
















Home >> Visual C++ / C++ >> Windows Programming >> System >> Task Manager


Task Manager Extension
Rating:

Zoltan Csizmadia (view profile)
April 4, 2001

.

Overview

This is an extension for the Windows Task Manager (NT/2000). The features are the following:
  • Show Application icons in Processes list (if available)
  • Use different color for services
  • Find a used file by any process. (Use * as file name for showing every used file)
    (The search is a full text search, so for example you can use the extension only) 
  • Find a used module by any process
    (The search is a full text search, so for example you can search for "kernel") 
  • Show Process ID in Applications tab
  • Use different color for processes if the CPU usage reaches a given limit ( 25%, 50%, 75% )
  • Query list of every files, handles, modules, windows used by a given process
  • Close a used file (you can unlock an exclusively opened file, so you can delete it)
  • Unload a used module (so you can delete it)
  • You can kill services too
  • Fast end process. Press DEL key!

For best performance you have to be an administrator!

Usage

Copy the TaskManagerEx.exe and TaskManagerEx.Dll to a directory and then execute TaskManagerEx.exe. This executable will hook every instance of Task Manager. If you want to start TaskManagerEx.exe automatically, create a shortcut in the Startup folder.

Credits

Thanks to everybody who contributed anything on http://www.codeguru.com. Especially for the List View section! 
System information classes: http://www.codeguru.com/system/ntsysteminfo.shtml.
Remote module load/unload: http://www.codeguru.com/dll/LoadDll.shtml

Warning

If you close or unload any file/handle from a process, it can crash.

Known bugs

  • Sometimes TaskManager.exe crashes after start. Start it again!
  • If you query used files on NT4, the Messenger service brings up a dialog. I don't know why :)

Bug fixes

  • Set priority sub menu fix 3/26/2001
  • Internationalization fix (Using Taskmgr caption from resources) . Thanks Dominique Faure! 3/30/2001

Downloads

Download source code - 55 KB
Download executables - 113 KB

Tools:
Add www.codeguru.com to your favorites
Add www.codeguru.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed







RATE THIS ARTICLE:   Excellent  Very Good  Average  Below Average  Poor  

(You must be signed in to rank an article. Not a member? Click here to register)

Latest Comments:
Updated version available - pantaz (10/29/2005)
I LOVE U.. this is exactly what I want. - Omid G.L. (12/09/2004)
No Color for System Processes - Legacy CodeGuru (02/06/2004)
TaskManager with Exe File - Legacy CodeGuru (01/20/2004)
Seeing source of a process - Legacy CodeGuru (10/20/2003)

View All Comments
Add a Comment:
Title:
Comment:
Pre-Formatted: Check this if you want the text to display with the formatting as typed (good for source code)



(You must be signed in to comment on an article. Not a member? Click here to register)