-
获取某一个进程cpu 占用率 示例源码
支持多核 支持 实时读取
- 2014-01-21下载
- 积分:1
-
MeDelete
SelfDelete(可以删除自身的VC++源码(巳通过了调试))
为了实现程序自删除功能,我们可以通过多进程的方法解决这个问题。可执行文件在结束返回前,创建一个运行命令窗口的新进程(在Windows98中为Command进程,在Windows2000/XP中为CMD进程),当然该命令窗口以隐藏方式执行,并通过传递参数执行删除功能。为了避免可执行文件的映像还在内存中就执行删除,需要把当前进程设置为实时优先级,而命令窗口进程设置为很低的IDLE优先级,这样首先可执行文件结束返回,再运行命令窗口的删除命令,就实现了该文件自身的删除功能。 (SelfDelete (you can delete its own VC++ source code (had passed debugging))
In order to achieve the program from the delete function, we can multi-process methods to solve this problem. Return before the end of the executable file, run the command window to create a new process (in Windows98 process for the Command, in Windows2000/XP process for CMD), of course, the command window to hide the manner and to perform delete functions by passing a parameter . In order to avoid the executable file image still in memory on the implementation of delete, you need to set the current process for real-time priority, and the command window to set the process priority to low IDLE, so the end of the first return to the executable file, then run the command window delete command, the file itself to achieve the delete function.
)
- 2011-06-26 23:22:21下载
- 积分:1
-
DisWinLynn
说明: 自己写的一个可以屏蔽系统键的程序,可以屏蔽WIN键,当然你可以修改其他屏蔽键!(玩魔兽时防止按错退出写的一个自己用的辅助工具)(himself in a system can shield key procedures, shielding WIN button, of course, you can modify other shielding keys! (Barry wrong by preventing the withdrawal was made with one of his aids))
- 2005-10-08 13:21:56下载
- 积分:1
-
shm100
共享内存源代码,本人提供共享内存操作的库文件(Shared memory source code, I provide the shared memory operation library file)
- 2016-05-08 01:04:39下载
- 积分:1
-
ntdll_sdk
微软的未公开API的ntdll.dll的库和头文件(The ntdll.dll library and header files of Microsoft unpublished API)
- 2013-05-18 12:43:31下载
- 积分:1
-
direce3D
语音3D特效器制作, 获取3D缓冲区对象,最大距离和最小距离等具体设置(3D audio effects device production, access to 3D buffer object, the maximum distance and minimum distance from a specific set)
- 2009-11-06 16:29:55下载
- 积分:1
-
C# 实现进程守护功能 通用于所有进程,非法关闭和关机依然适用 附完整源码下载
1. 下载本实例源码 2. 安装注意事项 在配置档中配置你要守护的应用程序,应用程序之间用逗号隔开: 01 02 03 04 09 10 该项目是Windows服务,直接打开“CocoWatcher.exe”会报错,如图1所示:运行该守护程序需安装Windows服务,点击批处理文档“安装.bat”即可,“安装.bat”具体内容如下: 1 "%cd%InstallUtil.exe" "%cd%CocoWatcher.exe" 2 net start "CocoWatcher" 3 pause 如果你想卸载该守护程序,点击批处理文档“卸载.bat”,“卸载.bat”具体内容如下: 1 net stop "CocoWatcher" 2 "%cd%InstallUtil.exe" "%cd%CocoWatcher.exe" -u 3 taskkill /f /im CocoWatcher.exe 4 pause 3. 需求分析 用户指定要守护的应用程序(数量不限),该应用程序不仅包括exe可执行文件,还包括诸如jpg、txt等所有能双击打开执行的应用程序。用户设定好要守护的应用程序后,关闭应用程序(包括合法和非法关闭),该应用程序要能立即重启打开。当电脑重启时,要守护的应用程序也能自动全部打开。 4. 详细设计 要实现上述需求,首先要提供一个配置档,让用户能随意配置要守护的应用程序。那么,该配置档要配置应用程序的什么信息呢?答案:应用程序的全路径。 好,我们已经知道了要守护的应用程序的全路径,接下来怎样完成守护任务呢?首先,我们应该打开任务管理器,查看一下正在运行的有哪些进程,然后逐一读取出这些进程的全路径,与要守护的应用程序的全路径比对,如果一致,说明要守护的应用程序已开启了,此时要分配一条线程监控该进程句柄,当该进程句柄返回信息,说明该进程已关闭,此时释放进程句柄内存,并重启该进程。如果遍历任务管理进程列表中所有进程,没有找到与要守护的应用程序的全路径一致的进程,说明要守护的应用程序尚未打开,此时要启动该应用程序,然后转入监控流程。 值得注意的是,一定要额外分配线程去监控要守护的应用程序,为什么?因为如果你用主线程(入口函数线程)去执行监控任务,会被长期阻塞,直到进程退出才会被激活,这样就无法运行后续程序。况且,监控程序要实现持续监控,要使用死循环,如果主线程进入死循环,就无法监控其他要守护的进程了。
- 2013-07-19下载
- 积分:1
-
Cleanupregistry
清理注册表:清理注册表中的冗余项,定期清洁电脑,程序简短,功能强大(Clean up the registry: clean up redundant registry entries, clean your computer on a regular basis, the program brief, powerful)
- 2013-04-23 22:05:26下载
- 积分:1
-
wlpxcaa480
WLAN的ofdm仿真系统代码,包括信道估计,同步等(Ofdm Simulation system Code of WLAN, including Channel estimation, synchronization and so on)
- 2018-09-28 09:27:24下载
- 积分:1
-
CH7026
CH7026芯片配置软件(CH7025(26) RegSet(2.03))及使用说明(CH7026 chip configuration software (CH7025 (26) RegSet (2.03)) and instructions)
- 2014-09-23 20:30:39下载
- 积分:1