PDA

View Full Version : Can't set ICImagingControl.Device (v2.0)



MikeG
December 21, 2004, 06:58:18
I've just switched from version 1.4 to 2.0, using a Canopus ADVC-100. In version 1.4, I was able to set the device with the VB statement:

ICImagingControl.Device = devicename

(The only device name is "Microsoft DV Camera and VCR")

However, with version 2.0, the statement returns the following error:

An unexpected DShowLibException occured: Error = Failed to connect the pins. Due to : No combination of intermediate filters could be found to make the connection.
In file : ".\FilterGraph.cpp" at line : 380

The same thing happens if you run the sample program "Making Device Settings".

However, if you use the method ShowDeviceSettingsDialog, as is done in the sample program "Capture an AVI File", it works fine.

Since I don't want to use the default dialog, what should I do?

Stefan Geissler
December 21, 2004, 07:30:17
Hello,

This error occurs, if the video format can not be converted to the sink type or the desktop's color format. I suggest to check several video formats to see, whether this error occurs.