-
watchDog可偵測程式是否關閉
可將執行中的程式,關閉,及重開。亦可以透過socket連線,來偵測是否程式已死當。其相關重要功能:重開機功能://重新開機void CWatchDogDlg::setSystemReboot(){msg = "準備關機重開!";::SendMessage(this->GetSafeHwnd(),MSG_STATUS_TOTAL,(WPARAM)&msg,0);CExitWindows m_ExitWindows;//m_ExitWindows.Restart(); m_ExitWindows.ForceReStart();}關閉程式:///關閉程式bool CWatchDogDlg::closeExeProcess(CString processName){processName.MakeLower();HANDLE hSnapShot;PROCESSENTRY32 pEntry;pEntry.dwSize =sizeof(pEntry);BOOL hRes;bool Found = FALSE;//Get the snapshot of the systemhSnapShot=CreateToolhelp32Snapshot (TH32CS_SNAPALL,NULL);//Get firs
- 2022-02-16 07:28:21下载
- 积分:1
-
在MFC中使用计时器,显示当前时间.也可以作为计时器用.
在MFC中使用计时器,显示当前时间.也可以作为计时器用.-The use of timer in the MFC, indicating the current time. Can also be used as a timer.
- 2022-08-18 10:13:46下载
- 积分:1
-
Calculate triangle area of the source code, compiled with vc run.
计算三角形面积的源代码,请用vc编译运行。-Calculate triangle area of the source code, compiled with vc run.
- 2022-10-01 04:50:03下载
- 积分:1
-
Handwriting test procedures, a very good small EVC procedures, hope that we can...
测试手写程序,一个很好的EVC小程序,希望大家能够交流学习-Handwriting test procedures, a very good small EVC procedures, hope that we can learn
- 2022-05-13 22:10:51下载
- 积分:1
-
手机连连看游戏源码 打包后可以运行在手机上
手机连连看游戏源码 打包后可以运行在手机上-Mobile Phone Games Lianliankan source package can be run on the mobile phone
- 2022-03-25 02:33:56下载
- 积分:1
-
水晶报表中文帮助手册,个人觉得很不错,想研究的朋友不妨一看。...
水晶报表中文帮助手册,个人觉得很不错,想研究的朋友不妨一看。-It s a crystal forms help book Chinese edition.I feel it s very helpful and recommend strongly to you.
- 2022-03-20 22:37:03下载
- 积分:1
-
为方便web 配色的takecolor取色小软件。
为方便web 配色的takecolor取色小软件。-web to facilitate the matching color takecolor from small software.
- 2022-02-03 09:53:59下载
- 积分:1
-
本程序是在LabWindows环境下,建立起一个启动项目。在该例程中启动的是我们windows系统下常用的记事本。...
本程序是在LabWindows环境下,建立起一个启动项目。在该例程中启动的是我们windows系统下常用的记事本。-This program is the LabWindows environment, establish a start-up projects. In the routine to start is that we are under the windows system, commonly used in Notepad.
- 2022-05-14 22:33:30下载
- 积分:1
-
when a good control at your disposal, what will you do not have to think, starte...
当一个很好的控件为你效劳时,你会怎样?? 不用想了,开始学就是了-when a good control at your disposal, what will you do not have to think, started to learn the grindstone
- 2022-02-16 03:43:58下载
- 积分:1
-
JRC提供必要的和共同的基础功能或接口作为一个lightw…
JRC provides necessary and common foundation functions or interfaces as a lightweight environment to load and run java classes,it s also a protocol to extend itself.
- 2022-11-11 02:15:03下载
- 积分:1