PDA

View Full Version : DshowLibException VB6



pvol1
October 5, 2012, 09:06:19
Hello ,

i m facing a problem that i can't solve and i need your help.
I have a DMK 51AG02 monochrom and i try to run the first sample program
Open Device
If ICImagingControl1.DeviceValid Then

ICImagingControl1.LiveDisplayDefault = False
ICImagingControl1.LiveDisplayHeight = ICImagingControl1.Height
ICImagingControl1.LiveDisplayWidth = ICImagingControl1.Width

ICImagingControl1.LiveStart

but when tries to execute .Livestart gives me this error
----------------------------
An unexpected DshowLibException occured Error= Failed to start the graph. Due to Unbekannter Fehler
In file : "Filter Graph.ccp" at line 307
----------------------------
It can recognize the device in VB,no problem for this.

Thanks in advance
regards

Michael Kirmse
October 5, 2012, 09:43:04
Hello,

does the live video work in IC Capture?

pvol1
October 5, 2012, 10:13:50
Yes..i t works..i dont have any problems with IC capture

Michael Kirmse
October 5, 2012, 10:23:44
Does it work with the sample demo application?

pvol1
October 5, 2012, 10:28:30
i can choose the type of the camera but after that stops in the line .Livestart

Michael Kirmse
October 5, 2012, 11:01:25
Which version of IC Imaging Control do you use?

pvol1
October 5, 2012, 12:21:02
IC capture 2.2.301.1100
Ic imaging control 3.2

Michael Kirmse
October 5, 2012, 15:06:58
Do you have Imaging Control 3.2 or the Active X version 3.2? Also, does the pre-compiled demoapp worK?

pvol1
October 5, 2012, 15:53:57
all version are 3.2.
i made some changes in the properties of IC1(VB6-form) and now it works!
I reset in old properties settings to find where was the mistake but worked and with the old properties...
i cant explain it...but its ok now!!! :)
thanks again for your time!