?
Solved

Task Manager Source Code

Posted on 1998-04-24
3
Medium Priority
?
228 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 300 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

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: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

801 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