C# 调用多个摄像头问题!
目前情况是这样:
调用一个摄像头是没有问题的,但调用多个报像头就无法显示第二个以后的摄像头了,望高手们赐教。。。
目前的调用代码:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Runtime.InteropServices;using System.Drawing.Imaging;using System.Net;using System.Net.Sockets;using System.Threading;namespace camera{ public partial class CameraForm : Form { private int hHwnd; private const int port = 2000; public CameraForm() { InitializeComponent(); } public struct videohdr_tag { public byte[] lpData; public int dwBufferLength