I am working on a project where I have 2 similar webcams connected. I used the windows API: capGetDriverDescription(...) and SendMessage(..).
The program does work fine, but the only thing which I dont like is a dialog box that pops up whenever I have to connect to the webcams. I would like to programitically select the device without the dialog box coming out. The dialog box pops up when I send the WM_CAP_DRIVER_CONNECT message with SendMessage.
Does anybody have any idea on how I can select the device without showing the dialog box.