tags:

views:

262

answers:

3

Hi

I have a Creative Life CAM Optia AF webcam, the software included in the package is able to control the camera in different ways, like set autofocus to auto or manual, and a bunch of gamma and brightness settings.

I'm capturing the feed with the AForge Computer vision library, and it's working great. But i would like to be able to set the manual focus from inside my application.

Ive been searching for a tutorial, but come up empty handed. Can i somehow either disassemble the included software, or is there some way to fetch the traffic / instructions being sent to the device?

Thanks in advance.

A: 

If the license agreement that comes with the software allows you to disassemble it, you can do so with Reflector (assuming that it's a .NET application).

Robert Harvey
The application is not a .net app.
Moulde
A: 

Does http://blogs.msdn.com/coding4fun/archive/2007/11/23/6440747.aspx help?

Rob Fonseca-Ensor
No sorry.I got the feed working, what i want to do now is get more control of the device, in this case a webcam.
Moulde
A: 

http://stackoverflow.com/questions/1717780/how-to-programatically-disable-the-auto-focus-of-a-webcam

I think i found a way to do this. But i have never written any C++, that is C++ right?

Thanks :)

Moulde