- 2
- 0
- 约1.16万字
- 约 21页
- 2019-07-21 发布于江西
- 举报
Windows进程管理工具设计与实现
摘 要
Windows是操作系统中使用最广泛,使用人数最多的系统,它自身带有一个任务管理器,可以对系统中的进程,任务进行管理,本课题主要模仿Windows的任务管理器,对系统中的程序、进程进行控制。在程序的设计过程中,需要通过VC++调用一些Windows API函数,从而获得程序、进程、线程模块,以及系统信息资源。最后在Windows XP系统上进行测试,通过开发,最终程序实现了进程管理的基本功能,能够正确实现对系统当前进程和系统资源的控制。
关键词:管理器;线程;进程;VC++
The Design and Implementation of the Processes Management Tool for Windows
Abstract
Windows is the most widely used in the operating system, system, by the largest number of its own with a task manager, is able to process in the system, manage tasks, this topic mainly imitate the Windows task manager, the system of procedures and process control.In the process of program design, need some Windows API function called by vc + +, thereby gaining procedure, process, thread module, and system information resources.Finally tested on Windows XP system, through the development, finally application implements the basic function of process management, correctly implement control of the system to the current process and system resources.
Key words: Task Manager; Threads; Process; VC++
目 录
TOC \o 1-3 \h \z \u 1 绪论 1
1.1 研究背景 1
1.2 研究意义与目的 1
1.3 课题的研究方法 1
1.4 相关知识介绍 2
1.4.1进程与线程 2
1.4.2Visual C++介绍 3
2 主要功能及设计思路 4
2.1 软件要实现的具体功能 4
2.2 软件概要设计 4
3 软件详细设计 5
3.1 窗体的设计与实现 5
3.2 正在运行的程序功能设计 7
3.3 正在运行的进程功能设计 8
3.3.1 进程、模块及线程信息 9
3.3.2 结束进程子模块的设计 11
3.3.3 删除文件子模块的设计 11
3.4 系统信息查看功能设计 11
3.4.1 画刷绘制CPU和内存使用率 11
3.4.2 其他信息显示 12
3.4.3 系统信息显示 12
4 软件测试 13
4.1 测试环境配置 13
4.2 对比测试 13
4.3 结果验证 13
结 论 16
参考文献 17
致 谢 18
PAGE 8
绪论
研究背景
Windows任务管理器是用来管理windows系统当前正在运行程序的具体情况的,通过该管理器,可以轻松管理系统中的运行程序。本设计的主要目的就是为了能够很好的运行VC++的所学知识(包括以前所学的一些关于计算机操作系统、进程、计算机安全、编程等知识)进行实践的能力,本课题就是模拟制作一个Windows任务管理器,使其能够成功的对任务、进程进行查看、结束等操作。
研究意义与目的
本课题主要研究如何开发一个windows进程管理器,系统应该具有的功能应该满足一般进程管理的需要,最大限度的模仿Windows任务管理器。
本课题对进程管理进行详细的设计,分别能够实现管理正在运行的程序,正在运行的进程和线程,还可以对系统信息进行查看。
正在运行的程序,主要包括:结束任务、新建任务、切换到新程序以及刷新程序列表。
正在运行程序包括:进程列表查看,结束进程、删除文件、导出列表以及刷新进程,另外还可以查看某一个进程的信息,进程包含哪些
原创力文档

文档评论(0)