PDA

View Full Version : Can't Release DirectShow Device



Unregistered
December 18, 2007, 22:53:20
Hi,

I'm using a simple Logitech web cam which I am programatically accessing in order to view. Although I programatically release all my filters and graphs and dispose of my capture device, the camera's light remains on (and remains unaccesible from any other process trying to access it aka "RenderStream" from it).

The only way I can free the device (and turn off the camera's blue light) is to kill the service/program completely - which is not an option for me.

Is there something I'm missing? Is there any way to programatically release/free the device so that I can then re-activate it again (w/o having to close the application completely)?

Thanx!