HOW TO GET WEB CAM IMAGES IN C#
- by SR Dusad
Hi
I m working on online video conferencing project in c# and .Net4.0
I want a library or code which i can used for collecting web camera inges per second in diferent form. I try this by using the AVICAP32, in which we send Messages for diferent purpose like copy or edit frames.but in this we have to pass a reference of picturebox while creating handler as given below
mCapHwnd = capCreateCaptureWindowA("0", 268435456 | 1073741824, 0, 0, 640, 480,picturebox1.Handle.ToInt32(), 0);
usiing these commands i m able to capture images but the problem comes when i minimize the picturebox form . at that time doesn't create new image .
I think this is happened because i minimize the form and when it copy the image from this clipboard it doesn't shhow anything.
How can i solve this problem . Any type of help will be appreciated.
Thanks
srdusad