Article View: borland.public.cppbuilder.multimedia
Article #19Re: Multiple Video Display USB
From: Clayton Arends
Date: Mon, 27 Feb 2006 17:05
Date: Mon, 27 Feb 2006 17:05
18 lines
1573 bytes
1573 bytes
In the code you are using there is a tiny bug. I'm not sure if it was
present in the original code that Remy posted or was caused by a subsequent
change. The line that connects to the driver doesn't care what has been
selected in the combo box. Probably not an issue for systems that have only
one device.
However, for you specific issue, in the line that connects to the driver,
have you tried to create a second set of controls (Panel2, ComboBox2, etc)
and then connect to index 1?
if(capDriverConnect(CaptureWindow, 1))
or, better
if(capDriverConnect(CaptureWindow, ComboBox2->ItemIndex))
HTH,
- Clayton
Technical Details
Message-ID:
<44033153$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44017935$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,22ad6df66dd21099 X-Google-Attributes: gid10d0fc,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Clayton Arends" <nospam_claytonarends@hotmail.com> Newsgroups: borland.public.cppbuilder.multimedia References: <44017935$1@newsgroups.borland.com> Subject: Re: Multiple Video Display USB Date: Mon, 27 Feb 2006 09:05:42 -0800 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 68.186.78.51 Message-ID: <44033153$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1141059923 68.186.78.51 (27 Feb 2006 09:05:23 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail