-
监控进程并重启
基本原理为: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
-
使用tcp或dup(可自由选择)开发的波形音频的录制与播放
使用tcp或dup(可自由选择)开发的波形音频的录制与播放-Wave/Sound recorder in the network support tcp or udp.
- 2022-11-07 01:55:03下载
- 积分:1
-
处理火星MOLA数据的小程序,可以把火星MOLA数据按照轨道号进行处理与转换。...
处理火星MOLA数据的小程序,可以把火星MOLA数据按照轨道号进行处理与转换。-Mars MoLa handle data applet can be MoLa Mars Orbiter carried out in accordance with the data processing and conversion.
- 2022-06-03 02:20:42下载
- 积分:1
-
matlab下利用误差平方和函数集群
matlab下利用误差平方和函数集群-using Matlab square error and function Cluster
- 2022-03-09 21:35:37下载
- 积分:1
-
Casio Dt900 of flink communication protocol demo program routines.
Casio Dt900的flink通讯协议demo程序例程.-Casio Dt900 of flink communication protocol demo program routines.
- 2022-09-26 19:10:02下载
- 积分:1
-
基于信任管理系统开发的银行系统例子,可以实现安全访问控制。...
基于信任管理系统开发的银行系统例子,可以实现安全访问控制。-Based on Trust Management System developed by examples of the banking system.
- 2022-02-12 03:23:51下载
- 积分:1
-
Windows++XP++PRO++VLK序列号修改
使用此文件修改无法激活的windowsxp系统...
Windows++XP++PRO++VLK序列号修改
使用此文件修改无法激活的windowsxp系统-Windows++ XP++ PRO++ VLK serial number of amendments to revise the use of this file can not be activated windowsxp system
- 2022-12-30 01:15:03下载
- 积分:1
-
Microsoft WinCE 6.0 BSP FINAL release source code for use with the i.MX27ADS TO2...
Microsoft WinCE 6.0 BSP FINAL release source code for use with the i.MX27ADS TO2 WCE600_FINAL_MX27_SOURCE.zip
- 2022-03-23 11:26:23下载
- 积分:1
-
two methods of timing
在windows条件下实现计时器的两种方法-two methods of timing
- 2023-03-16 23:55:03下载
- 积分:1
-
〈EVC高级编程及其应用开发(Embedded Visual C++嵌入式编程)〉书上的源代码 全书共分13章,分别为WinCE及EVC概述、图形编程、对话框控...
〈EVC高级编程及其应用开发(Embedded Visual C++嵌入式编程)〉书上的源代码 全书共分13章,分别为WinCE及EVC概述、图形编程、对话框控件、进程、线程、文件和注册表、WinCE基础数据库编程、WinCE扩展数据库编程、通讯编程、UDP和PING编程、TCP编程、DLL编程以及COM编程。读者在具有一定C抖和WinCE知识的基础上,通过本书的学习,可以快速提高WinCE的编程能力和实际开发水平。- book on the source code book is divided into 13 chapters, each of WinCE and EVC outlined, graphics programming, dialog controls, processes, threads, documents and the registry, WinCE based database programming, WinCE expanded database programming, communications programming, and PING programming UDP, TCP programming, programming and COM DLL programming. Readers with certain C jerk and WinCE knowledge, based on the book learning, can rapidly improve WinCE programming capacity and the actual level of development.
- 2022-07-15 03:00:54下载
- 积分:1