-
练习2
适用于初学者的web网页设计编程的第二部分。(The second part of web page design and programming for beginners.)
- 2020-06-15 23:40:01下载
- 积分:1
-
WindowruntimeTestCode
Windows程序运行原理及程序编写流程,窗口产生过程,句柄原理,消息队列,回调函数,窗口关闭与应用程序退出的工作关系,使用VC++的若干小技巧,stdcall与cdecl调用规范的比较,初学者常犯错误及注意事项。(Windows program to run Principles and procedures for the preparation of flow, the process window, handles principle, message queues, callback function, the window closed and the application quit working relationship, the use of VC++ A number of tips, stdcall and cdecl calling norms comparison, beginners often make mistakes and Cautions.)
- 2008-06-02 10:30:11下载
- 积分:1
-
C# GSM Modem短信的 发送/接收 示例源码下载
C# GSM Modem短信的 发送/接收 示例源码下载
- 2014-03-26下载
- 积分:1
-
command
用boost::shared_ptr实现command模式,并提供MacroCommand来支持复合的command。(command pattern)
- 2013-08-30 22:59:44下载
- 积分:1
-
直接用socket实现HTTP协议(下载专用)
作者:北方工业大学2000级计算机4班 querw
从HTTP服务器上下载一个文件有很多方法,"热心"...
直接用socket实现HTTP协议(下载专用)
作者:北方工业大学2000级计算机4班 querw
从HTTP服务器上下载一个文件有很多方法,"热心"的微软提供了WinInet类,用起来也很方便.当然,我们也可以自己实现这些功能,通过格式化请求头很容易就能实现断点续传和检查更新等等功能.- Straight takes over the use of socket to realize the HTTP
agreement (special-purpose downloading) the author: North industrial
university 2,000 levels of computers 4 class of querw downloaded a
document from the HTTP server to have very many methods, the
"warm-hearted" Microsoft has provided the WinInet kind, used very to
be also convenient Certainly, we also may own realize these
functions, is very easy through formatted request to be able to
realize the break point to continue passes on and inspects renewal and
so on function
- 2022-11-12 19:15:03下载
- 积分:1
-
C# 实现进程守护功能 通用于所有进程,非法关闭和关机依然适用 附完整源码下载
1. 下载本实例源码 2. 安装注意事项 在配置档中配置你要守护的应用程序,应用程序之间用逗号隔开: 01 02 03 04 09 10 该项目是Windows服务,直接打开“CocoWatcher.exe”会报错,如图1所示:运行该守护程序需安装Windows服务,点击批处理文档“安装.bat”即可,“安装.bat”具体内容如下: 1 "%cd%InstallUtil.exe" "%cd%CocoWatcher.exe" 2 net start "CocoWatcher" 3 pause 如果你想卸载该守护程序,点击批处理文档“卸载.bat”,“卸载.bat”具体内容如下: 1 net stop "CocoWatcher" 2 "%cd%InstallUtil.exe" "%cd%CocoWatcher.exe" -u 3 taskkill /f /im CocoWatcher.exe 4 pause 3. 需求分析 用户指定要守护的应用程序(数量不限),该应用程序不仅包括exe可执行文件,还包括诸如jpg、txt等所有能双击打开执行的应用程序。用户设定好要守护的应用程序后,关闭应用程序(包括合法和非法关闭),该应用程序要能立即重启打开。当电脑重启时,要守护的应用程序也能自动全部打开。 4. 详细设计 要实现上述需求,首先要提供一个配置档,让用户能随意配置要守护的应用程序。那么,该配置档要配置应用程序的什么信息呢?答案:应用程序的全路径。 好,我们已经知道了要守护的应用程序的全路径,接下来怎样完成守护任务呢?首先,我们应该打开任务管理器,查看一下正在运行的有哪些进程,然后逐一读取出这些进程的全路径,与要守护的应用程序的全路径比对,如果一致,说明要守护的应用程序已开启了,此时要分配一条线程监控该进程句柄,当该进程句柄返回信息,说明该进程已关闭,此时释放进程句柄内存,并重启该进程。如果遍历任务管理进程列表中所有进程,没有找到与要守护的应用程序的全路径一致的进程,说明要守护的应用程序尚未打开,此时要启动该应用程序,然后转入监控流程。 值得注意的是,一定要额外分配线程去监控要守护的应用程序,为什么?因为如果你用主线程(入口函数线程)去执行监控任务,会被长期阻塞,直到进程退出才会被激活,这样就无法运行后续程序。况且,监控程序要实现持续监控,要使用死循环,如果主线程进入死循环,就无法监控其他要守护的进程了。
- 2013-07-19下载
- 积分:1
-
fushu
简单的复数加减法
用gcc编写 进入dos 到当前路径 输入make可以编译代码 成功后 输入a.exe即可(simple fushu jia jian fa)
- 2010-08-25 13:03:08下载
- 积分:1
-
中兴标签
本地access文件夹读取,并查询后自动打印(The local access folder reads and prints automatically after querying)
- 2017-06-30 21:46:32下载
- 积分:1
-
vcmodbus
利用vc++ 实现MODBUS TCP 协议,描述了协议的实现过程并配有说明文档(VC++ modbus tcp protocol)
- 2021-04-17 09:18:52下载
- 积分:1
-
此程序是我自己开发的连锁超市方案中数据交换的应用实例,所以客户端和服务端的代码有点多,但多是与通信本身无关,所实现的功能是将本地Local文件夹与远程Remot...
此程序是我自己开发的连锁超市方案中数据交换的应用实例,所以客户端和服务端的代码有点多,但多是与通信本身无关,所实现的功能是将本地Local文件夹与远程Remote文件夹的.rs文件互相进行传送。-this program is my own development of the supermarket chain data exchange program of the application, client and server-side code a bit more, but most of the communication itself has nothing to do with, the functions of local folders Local and Remote Remote folders. Rs documents transmitted each other.
- 2023-04-11 19:40:04下载
- 积分:1