Solved

Task Manager Source Code

Posted on 1998-04-24
3
222 Views
Last Modified: 2013-11-19
I am looking for some source code that can act like a task manager in windows. code or explanations for the following would be helpful :
1. how to identify active programs/apps in memory
2. how to send WM_CLOSE Command to apps
0
Comment
Question by:lucidity
3 Comments
 
LVL 15

Expert Comment

by:Tommy Hui
ID: 1302106
If you have the Platform SDK, you can look at the tlist sample under \mssdk\samples\sdktools\tlist. The sample should also be available on the MSDN library too. It does what you want.

0
 
LVL 2

Author Comment

by:lucidity
ID: 1302107
I have the PLatform SDK and got the Tlink Code. The code needs to be compiled not linked to MFC, something the compiler won't let you do (unless I'm not getting something). anyway, if you can show me how to hook that code into a Dialog app (from app wizard), the points are yours. (and another 50 point because I forgot about this question and posted another question)
Whoops.

Eagerly awaiting your correct answer
Jason

0
 
LVL 11

Accepted Solution

by:
mikeblas earned 100 total points
ID: 1302108
The compiler isn't responsbile for linking, the linker is.

See the MFCTlist sample at http://www.nwlink.com/~mikeblas/samples/.

..B ekiM
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Expand LInux Boot partition remotly 3 86
Shell script to login to remote m/c and execute commands 10 78
modThree challenge 4 79
zeroMAx challenge 20 88
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now