-
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
-
这是一个用开发的的多线程类只要加入工程可以非常方便的使用...
这是一个用开发的的多线程类只要加入工程可以非常方便的使用-This is a development of the use of multithreading to the project as long as the class is very convenient to use
- 2022-03-31 07:36:11下载
- 积分:1
-
The simple two
The simple two-dimensional CAD manufacture, also has some functions not to realize the board.-The simple two-dimensional CAD manufactu re. also has some functions not to realize the board .
- 2022-04-01 00:43:40下载
- 积分:1
-
大富翁棋牌类小游戏,函数编写,游戏编程中的经典例子
大富翁棋牌类小游戏,函数编写,游戏编程中的经典例子-Monopoly game chess classes, functions to prepare the game in the classic example of programming
- 2023-03-18 03:10:04下载
- 积分:1
-
基于windowas ce4.2的一个ir通信的程序,
使用EVC++编写,提供一个基于sh3处理器的例子...
基于windowas ce4.2的一个ir通信的程序,
使用EVC++编写,提供一个基于sh3处理器的例子-windowas ce4.2 based on the ir a communications procedures, the use of EVC prepared to provide a processor based on CPU example
- 2022-01-24 13:39:42下载
- 积分:1
-
C#学习 文件处理 C#进行文件处理。码制转换
C#学习 文件处理 C#进行文件处理。码制转换-C# Learning C# document processing for document processing. Code conversion system, etc.
- 2023-05-01 05:15:02下载
- 积分:1
-
This is a source code written in Visual Basic to Eject/ Inject the CD ROM tray!
This is a source code written in Visual Basic to Eject/ Inject the CD ROM tray!
- 2022-02-15 20:03:43下载
- 积分:1
-
windows mobile Demo_StepByStep very good introductory information on
windows mobile Demo_StepByStep,很不错的入门资料-windows mobile Demo_StepByStep very good introductory information on
- 2022-01-25 20:21:19下载
- 积分:1
-
数字定时器写的程序,模拟数字计时器,根据…
Digital Timer Write a program that simulates the digital timer, according to the specification discussed during the last week lecture. Implement the classes Timer and Display in the way as it is shown on slide 16 of the Unit 6. You program will consists three classes: Timer, Display and TestTimer. Timer will use Display class to create two objects: hours and minutes. TestTimer should create an object of class Timer and simulate work of the digital timer for 10 minutes.
- 2022-09-23 14:35:04下载
- 积分:1
-
Windows socket编程的客户端实现。
Windows socket编程的客户端实现。-Windows socket programming, client-side implementation.
- 2023-07-07 12:45:03下载
- 积分:1