-
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
-
Multi thread TCP/IP communication protocol
Multi thread TCP/IP communication protocol
- 2022-10-31 21:05:03下载
- 积分:1
-
Silvercrest SL-65 firmware upload/download via RS232
SL-65接收器上的串行端口以115200bps的速率运行。显然有
- 2022-05-13 04:04:22下载
- 积分:1
-
C++ And Threads
If you ve ever done multithreaded programming then most likely...
C++ And Threads
If you ve ever done multithreaded programming then most likely it was in C++. I haven’t
heard of many developers using the CreateThread Win32 API function from Visual Basic
or even Delphi. The reason is that the advantages of C++ and multiple threads are usually
the same.
- 2023-08-17 11:20:03下载
- 积分:1
-
交流电机电缆选择器
这个程序写来帮助选择金属丝尺寸的基础上的交流电机的电气工程师电源
- 2022-06-16 03:55:43下载
- 积分:1
-
windows_NT_文件系统内幕(中文版)_全部章节以及源代码
windows_NT_文件系统内幕(中文版)_全部章节以及源代码-Insider windows_NT_ file system (Chinese version) _ all the chapters, as well as the source code
- 2022-07-22 01:00:51下载
- 积分:1
-
用Java编写的小型播放器,可以播放小型的音频文件,还可循环播放。...
用Java编写的小型播放器,可以播放小型的音频文件,还可循环播放。-Java prepared by the small players, and can play a small audio files, but also broadcast cycle.
- 2023-06-25 04:20:02下载
- 积分:1
-
C T R EE LIST
一个基于对话框的ctreelistctrl类,拥有ctreectrl和clistctrl两种特性。-a dialog on the ctreelistctrl category, clistctrl ctreectrl and has two characteristics.
一个基于对话框的ctreelistctrl类,拥有ctreectrl和clistctrl两种特性。-a dialog on the ctreelistctrl category, clistctrl ctreectrl and has two characteristics.
- 2022-04-25 05:26:09下载
- 积分:1
-
简易文件备份还原
资源描述使用C++、MFC实现文件备份、分区备份、磁盘备份以及还原,实现磁盘克隆,可创建备份任务,查看备份日志,使用VSS保证文件一致性
- 2022-03-23 16:10:37下载
- 积分:1
-
a VB can be prepared by practicing calligraphy good compact (including source co...
一个用VB编写的能练习书法的小巧好程序(包括源代码)实现无纸练习书法的目的-a VB can be prepared by practicing calligraphy good compact (including source code) to achieve paperless practice calligraphy purpose
- 2022-03-12 20:56:12下载
- 积分:1