I would like to capture a frame from the webcam and get it into a bitmap, I don't want the program to show any window but I am struggling to understand the concept of the vfw functions.
The capCreateCaptureWindow is a function that creates the handler to the window of the camera but the function opens a window that allows me to choose camera devices.
My goal is to be able to go through all camera devices, take a picture from them and get them into a bitmap.
Is there a way to do that without using the capCreateCaptureWindow function and obtain the device's details through code?
First you could try to use Windows Image Acquisition (WIA) APIs to get still images from the device. You could also try to use DirectShow to capture an image.
And then you could Capturing an Image From a Still Image Pin