-
监控进程并重启
基本原理为:1,在后台启动监控程序。2,监控程序一直对设定的进程窗口名称的进程进行监控。3,如果发现此进程窗口没有了或消失了,将自动在后台延时几十秒或设定时间后,然后启动此进程。
关键代码如下:
hWndMain=NULL;
hWndMain=::FindWindow(NULL,"录音系统平台");
if(hWndMain==NULL)
{
hWndMain=::FindWindow(NULL,"电话录音");
if(hWndMain==NULL)
{
/* memset(Buf,0,200);
sprintf(Buf, "%04d%02d%02d%02d%02d%02d: find no digitexe
",st.wYear,st.wMonth,st.wDay,st.wHour,st.wMinute,st.wSecond);
if( (log1 = fopen( "selfauto.log", "a+" )) != NULL ) //打开文件流
{
fprintf(log1,"%s
",Buf);
fclose(log1);
}*/
- 2022-11-05 05:20:02下载
- 积分:1
-
该辅助工具能够对使用VC的用户提供许多有用的帮助。比如自动完成拼写,函数参数提示等等。...
该辅助工具能够对使用VC的用户提供许多有用的帮助。比如自动完成拼写,函数参数提示等等。-the auxiliary tool to be able to use the VC provide many useful help. For example, automatic spelling, function parameters suggest so on.
- 2022-03-16 05:23:59下载
- 积分:1
-
通用串口总线
基于USB的摄像机的上位机显示程序,摄像头芯片必需为OV511+(如:网眼v2000),适用于Windows2000/XP
1.运行本代码需安装windriver7.00和VC6.0,可到网上下载
2.编译时需设置库文件,windriver的include文件路径以及windriver的lib文件路径-USB-based PC camera shows the procedures necessary for the camera chip OV511+ (Such as: mesh v2000), applicable to Windows2000/XP1. To run the code to install windriver7.00 and VC6.0, can be downloaded 2. Compilers when set up library file, windriver the include file path and the lib file path WinDriver
- 2023-05-28 14:20:03下载
- 积分:1
-
人工智能极大极小搜索,实现了井字棋的智能博弈程序。
人工智能极大极小搜索,实现了井字棋的智能博弈程序。-Minimax artificial intelligence search and realized the groined smart game of chess procedures.
- 2022-02-06 10:15:33下载
- 积分:1
-
在windows下开发的,播放bmp,tif,gif,jpg文件格式,有源码的详细解释,对于刚入门的人来说很不错。...
在windows下开发的,播放bmp,tif,gif,jpg文件格式,有源码的详细解释,对于刚入门的人来说很不错。-windows under development in the broadcast bmp, tif, gif, jpg file format, a detailed explanation of the source code for beginners who is pretty good.
- 2022-03-26 09:19:03下载
- 积分:1
-
9160手机小灵通收费通用接口,内详。解决平时找插件难的问题...
9160手机小灵通收费通用接口,内详。解决平时找插件难的问题-9160 PHS phone charges common interface, detail. Plug-in peacetime to find solutions to the problem
- 2022-03-19 23:28:31下载
- 积分:1
-
基本的CoreJava,用JDBC技术连接oracle数据库开发的联系人通讯录系统
基本的CoreJava,用JDBC技术连接oracle数据库开发的联系人通讯录系统......................................................
- 2022-07-10 09:01:35下载
- 积分:1
-
《Visual C++ 6.0程序设计实训教程(第二版)》源代码
《Visual C++ 6.0程序设计实训教程(第二版)》源代码- Visual C++ 6.0 Programming Training Course (Second Edition) source code
- 2022-08-13 10:34:29下载
- 积分:1
-
third game is the right flag c++
三字旗游戏是右c++编写-third game is the right flag c++
- 2022-02-02 14:29:32下载
- 积分:1
-
game windows
//---------------------------------------------------------------------------
- 2022-05-27 10:03:30下载
- 积分:1