-
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
-
半透明的窗口,很小,很容易使用,简单!
半透明窗口,短小精悍,使用方便,操作简单!
-translucent window, small and easy to use, simple!
- 2023-03-03 06:50:03下载
- 积分:1
-
vb编写的简单打开文件源码,功能比较简单适合初学
vb编写的简单打开文件源码,功能比较简单适合初学-vb open the document prepared by a simple source, function is relatively simple for beginners
- 2022-03-29 07:58:16下载
- 积分:1
-
c++ Builder中的异常处理
c++ Builder中的异常处理-Exceptions
- 2022-03-05 10:20:38下载
- 积分:1
-
进程通信
c++ 进程通信demo,包括客户端,服务器vc6.0编写,包括共享内存,通道等直接编译exe 可直接运行
c++ 进程通信demo,包括客户端,服务器vc6.0编写,包括共享内存,通道等直接编译exe 可直接运行
- 2022-05-05 21:48:21下载
- 积分:1
-
在Eclipse中用JDBC连接Sql_Server_2005
在Eclipse中用JDBC连接Sql_Server_2005文档,在Eclipse中用JDBC连接Sql_Server_2005文档,在Eclipse中用JDBC连接Sql_Server_2005文档,在Eclipse中用JDBC连接Sql_Server_2005文档,在Eclipse中用JDBC连接Sql_Server_2005文档
- 2022-03-30 11:10:01下载
- 积分:1
-
程序由C语音编写,功能为通过修改注册表修改个人浏览器的主页...
程序由C语音编写,功能为通过修改注册表修改个人浏览器的主页-Procedures by the C speech prepared by modifying the registry functions to edit your browser s home page
- 2022-03-11 17:51:30下载
- 积分:1
-
介绍了VC下位图的现实方法,比较实用,从网上搜的,参考。
介绍了VC下位图的现实方法,比较实用,从网上搜的,参考。-Introduction of the VC under the reality of the bitmap method, more practical, from the Internet search and reference.
- 2022-05-23 05:06:19下载
- 积分:1
-
与MAXQ多的FIR滤波器的实现
Implementation of FIR filter with the MAXQ Multiple-And-Accumulate unit specify module and ROM routine definition files
- 2022-12-03 14:40:03下载
- 积分:1
-
文件异常处理的一个例子<2030kb>
文件异常处理的一个例子-document examples of a lt; 2030kbgt;
- 2023-03-22 10:40:04下载
- 积分:1