Solved

Task Manager Source Code

Posted on 1998-04-24
3
223 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
haveThree challenge 22 118
tripleUp challenge 7 78
fix34  challenge 9 117
Increment column based of a FK 8 21
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

770 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