Origin of WebCam_Capture.dll

Dec 18, 2009 at 8:40 PM

What is the origin of the referenced dll WebCam_Capture.dlll?  Are you the developer?

 

Coordinator
Jan 5, 2010 at 3:31 PM
Edited Jan 5, 2010 at 3:36 PM
mindsnapper wrote:

What is the origin of the referenced dll WebCam_Capture.dlll?  Are you the developer?

 

I not sure the original source version came from.

I have original version of source but it loss with my hard drive :( so i'cant share this source.

I use this WebCam_Capture.dll for a long time (3-4 year ago) and i derive it for easy to use with WPF.

Jan 24, 2010 at 2:13 AM

I think that Webcam_Capture.dll comes from here

http://www.planet-source-code.com/vb/scripts/showcode.asp?lngWId=10&txtCodeId=1339

Gaetan Siry

Feb 27, 2010 at 1:48 PM

Yep, i think Gaetan is right, I use the same source in one of my apps, You could always .net reflector to disassemble the .dll as well, from .Reflector the start method matches exactly to the source from the link above.. There also appears to be additional libraries attached to the .dll besides the webcam class. (InstrumentDriverInterop.Ivi?, UT_Module, CG_Module)

public void Start(ulong FrameNum)
{
    try
    {
        this.Stop();
        this.mCapHwnd = capCreateCaptureWindowA("WebCap", 0, 0, 0, this.m_Width, this.m_Height, base.Handle.ToInt32(), 0);
        Application.DoEvents();
        SendMessage(this.mCapHwnd, 0x40a, 0, 0);
        SendMessage(this.mCapHwnd, 0x432, 0, 0);
        this.m_FrameNumber = FrameNum;
        this.timer1.Interval = this.m_TimeToCapture_milliseconds;
        this.bStopped = false;
        this.timer1.Start();
    }
    catch (Exception exception)
    {
        MessageBox.Show("An error ocurred while starting the video capture. Check that your webcamera is connected properly and turned on.\r\n\n" + exception.Message);
        this.Stop();
    }
}
Aug 3, 2012 at 10:47 AM

Hi

best site for learning :

please visit our site :

news,articles,shop,forums :

http://www.zunkan.ir

Feb 18, 2015 at 1:46 AM
Edited Feb 18, 2015 at 1:46 AM
Hi,
the WebCam_Capture.dll is made by http://easywebcam.codeplex.com/. See Predrag Tomasevic, 29 Jan 2013 - http://www.codeproject.com/Articles/125478/Versatile-WebCam-C-library :

"... EasyWebCam project – for most part it is bad, but it does have a Video Format window. I decompiled WebCam_Capture.dll from the project only to find out that everything is implemented using PInvoke - meaning that it’s useless for our approach. So, if somebody can bring up that same window using C++ and DirectShow – please help out by extending the existing CameraMethods class..."

Predrag Tomasevic uses the Touchless SDK of John Conwell and Gary Caldwell with a C# and C++ combination using DirectShow http://touchless.codeplex.com/ , which is by far more featurable and more elegant. The tutorial of Tomasevic is very, very fine and the code is working excellent even with HD PTZ Webcams.

Best regards
Axel Arnold Bangert - Herzogenrath 2015