PC Review


Reply
Thread Tools Rate Thread

capGetDriverDescription question

 
 
catalin
Guest
Posts: n/a
 
      17th Oct 2007
I am developing a video capture application ...
everything works fine except the following code

UINT uiIndex = 0;

for ( uiIndex = 0; uiIndex <= 9; ++uiIndex )
{
VCT_CHAR szDeviceName[250] = {0};
VCT_CHAR szDeviceVersion[250] = {0};

if ( capGetDriverDescription(uiIndex,
szDeviceName,
sizeof(szDeviceName),
szDeviceVersion,
sizeof(szDeviceVersion)) )

....

};

I always find only one camera on my system but I have 3 cams connected
(I want to switch between them) ... I always get reported as being
hooked to my system only one camera with the following description
Microsoft WDM Image Capture (Win32).

I want to do this because the application cannot capture video (or
images) id the default camera is not hooked to the system ... there is
no way to call capDlgVideoSurce if you are not connected to a device.

How can I tell my aplication to use the camera connected to the system
if it always sees only one default camera witch is Microsoft WDM Image
Capture (Win32) ?

Thx
Catlin
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Perhaps and off topic question....but could use some help with video question.....I don't need codec help, just a general question. Bret Miller DIY PC 0 13th Oct 2006 12:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:47 PM.