-
win8平板调用摄像头工具
win8平板很牛叉的调用摄像头的库,通过.net调用COM库实现的,之前通过avicap.dll库,SendMessage方式都行不通的方式用这种方式能成功。
namespace AForge.Controls
{
using AForge.Video;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
public class VideoSourcePlayer : Control
{
private bool autosize;
private Color borderColor = Color.Black;
private IContainer components;
private Bitmap currentFrame;
private bool firstFrameNotProcessed = true;
- 2022-04-23 12:39:10下载
- 积分:1
-
Toj 2926 题目详解及题目源码 包括完整的可以提交的程序
Toj 2926 题目详解及题目源码 包括完整的可以提交的程序-Toj 2926 Detailed subject and topics, including the complete source code can be submitted to the procedure
- 2022-01-26 08:25:41下载
- 积分:1
-
是一个音像管理系统,程序可运行,请放心使用
是一个音像管理系统,程序可运行,请放心使用-Is an audio-visual management system, procedures can be run, please rest assured that the use of
- 2023-01-18 07:30:04下载
- 积分:1
-
一个线程池的一个类,基本使用如下:
一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //这里可以对连接的session进行自己的操作,例如给id找一个唯一的值 SetIoCompletionPort(socket, s) // 使连接socket与一个自定义结构体关联 } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // 这里只是简单的把收到的消息返回给客户端 ... } void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) // 开始监听网络端口,等待客户端连接 ... }-A class for thread pool,basic usage below:
struct TSession { SOCKET socket int id } class myIocp:public CIOCP
{ public:
void OnRead(void* p, char* buf, int len)
void OnAccept(SOCKET socket)
void OnClose(void* p) }
void myIocp::OnAccept(SOCKET socket)
{ TSession*s = new TSession s->socket = socket
//here you can do something about connecti
- 2022-07-17 05:14:52下载
- 积分:1
-
示例网络摄像头
Visual Basic应用程序,其中显示了网络摄像头的输出,并具有快照。 可用于不同的网络摄像头和易于理解。Visual Basic Application wherein shows output of web cam and have snapshots.Can be used to different webcams and easy to understand.
- 2023-01-24 10:55:04下载
- 积分:1
-
一个用vc写的日历控件.
一个用vc写的日历控件.-vc write with a calendar control.
- 2023-05-20 11:10:02下载
- 积分:1
-
Own a train ticketing system are welcome to instruct everyone to download my sof...
自己编的一个火车售票系统,欢迎大家下载指点我的软件- Own arrange a train booking system, welcome everybody downloading to direct my software 【上载源码成为会员下载此源码】【成为VIP会员下载此源码】-Own a train ticketing system are welcome to instruct everyone to download my software- Own arrange a train booking system, welcome everybody downloading to direct my software [upload source to become a member download the source code] [become a VIP member to download this source]
- 2022-12-21 05:15:03下载
- 积分:1
-
VC++基于自动化方式嵌入EXCEL,代码排版清晰,包括合并单元格操作...
VC++基于自动化方式嵌入EXCEL,代码排版清晰,包括合并单元格操作-VC++-based automation embedded in EXCEL
- 2023-08-17 14:20:06下载
- 积分:1
-
View wince a platform of hardware Information
一个查看wince平台下的各种硬件信息类-View wince a platform of hardware Information
- 2023-08-19 07:50:03下载
- 积分:1
-
MailReceiver(E
MailReceiver(E-mail接收)-MailReceiver (E-mail Acquisition)
- 2022-02-14 09:56:33下载
- 积分:1