Solved

Task Manager Source Code

Posted on 1998-04-24
3
226 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replacement selected text 2 69
Importing Special Characters in Dynamics GP Through Integration Manager 3 96
sum28 challenge 31 117
Thin secure Windows 10 5 116
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 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