-
将位图文件转成AVI视频文件(暂没有加音频)帧频可以自由设定。...
将位图文件转成AVI视频文件(暂没有加音频)帧频可以自由设定。-Bitmap file will be converted into AVI video files (not temporary increase audio) frame rate can be set free.
- 2022-01-22 14:55:33下载
- 积分:1
-
监控进程并重启
基本原理为:1,在后台启动监控程序。2,监控程序一直对设定的进程窗口名称的进程进行监控。3,如果发现此进程窗口没有了或消失了,将自动在后台延时几十秒或设定时间后,然后启动此进程。
关键代码如下:
hWndMain=NULL;
hWndMain=::FindWindow(NULL,"录音系统平台");
if(hWndMain==NULL)
{
hWndMain=::FindWindow(NULL,"电话录音");
if(hWndMain==NULL)
{
/* memset(Buf,0,200);
sprintf(Buf, "%04d%02d%02d%02d%02d%02d: find no digitexe
",st.wYear,st.wMonth,st.wDay,st.wHour,st.wMinute,st.wSecond);
if( (log1 = fopen( "selfauto.log", "a+" )) != NULL ) //打开文件流
{
fprintf(log1,"%s
",Buf);
fclose(log1);
}*/
- 2022-11-05 05:20:02下载
- 积分:1
-
MEPG2压缩/解压缩源码示例
MEPG2压缩/解压缩源码示例 -intrigued compression/decompression source code examples
- 2023-05-31 02:20:03下载
- 积分:1
-
基于VC的数据库编程 源码 RAR
基于VC的数据库编程 源码 RAR
基于VC的数据库编程 源码 RAR
基于VC的数据库编程 源码 RAR-VC-based Database Programming RAR source database programming source code based on VC in VC-based Database Programming RAR source RAR
- 2023-03-01 15:55:02下载
- 积分:1
-
自由拼音输入程序
自由拼音输入程序-free phonetic input program
- 2022-02-06 16:46:55下载
- 积分:1
-
自动运行添加器autorun
自动运行添加器autorun-automatically add the device automatically
- 2022-07-02 10:12:47下载
- 积分:1
-
procedures for handling a unicode string, two procedures resources, and the stri...
程序1处理unicode字符串,程序2 进行资源读取和字符串类的CString 扩展类 程序3 不依赖系统的CString类,程序4CUnicodeString类,程序5实现基本功能的
字符串类-procedures for handling a unicode string, two procedures resources, and the string read like CString extension of the class three procedures do not rely on the system CStrin g category, procedures CUnicodeString category four, five procedures to achieve the basic functions of the string type
- 2022-03-25 09:02:20下载
- 积分:1
-
基于tcp传输数据的医药管理系统
本系统是基于c#tcp通信的简单医药管理系统,包含一个服务端和客户端,有药物的进库出库管理,药物基础数据管理,对c#tcp通信学习是相当好的材料
- 2022-03-24 21:11:01下载
- 积分:1
-
java异常处理
3.8 异常处理
什么是异常
知道Java异常分类
处理异常的两种方式
throw和throws区别
如何创建自定义异常
概念:
在程序中,可能产生程序员没有预料到的各种错误情况,比如打开一个不存在的文件等,在Java中,这种在程序运行时可能出现的错误称为异常。
异常可以把“描述在正常执行过程中做什么事”的代码和“出了问题怎么办”的代码相分离
例子:demo05.ExceptionDemo.java
Java异常分类A:
java.lang.Error,java.lang.Exception
Error(错误):jvm系统内部错误、资源耗尽等严重问题,发生Error时,编程人员无能 为力,只能终止程序,例如内存溢出等。
Exception(异常):因编程错误或偶然的外在因素导致的一般性问题,例如:对负数 开平方根、空指针访问等,当发生Exception 时,编程人员可以做出处理,并做出人性 化响应,比如弹出窗口,显示“请不要输入负数!”。
异常分类B:
检查性异常:编译器必须处理的异常,该类异常通常是Exception类型或其子类(RuntimeException类除外)//运行时异常
SQLException、IOException、ClassNotFoundException
例子:/DemoProject/src/com/hyg/demo08/FileInputStreamDemo.java
非检查性异常:编译器不要求强制处理的异常,RuntimeException类及其所有子类都是非检查性异常。
NullPointerException、ClassCastException
例子:equa
- 2022-02-14 14:02:16下载
- 积分:1
-
vb.net利用中间空间实现的SMS收发程序
vb.net利用中间空间实现的SMS收发程序-vb.net to use the middle of space to achieve SMS sending and receiving programs
- 2023-06-02 13:30:03下载
- 积分:1