I really need a replacement for the shell used in a C # application. Basically, we need to connect a webcam to one of two mailboxes. This will be used to capture still images at the touch of a button, which may disconnect the cameraβs power and attach a still image to this image, and then reconnect the camera. Earlier, we used some free code to use with the CaptureDevice.cs and Pinvoke.dll file to associate it with avicap32.dll. Unfortunately, this seems to have random, intermittent errors that cannot be reliably reproduced. It is just too flaky. At some random point, one of these image boxes may be black and will not show the feed until the image is taken, and at that moment the correct image will be attached to the image window. Then, even if there is only one webcam, it will contain hints for choosing a webcam, otherwise it will not work otherwise.
Honestly, I am surprised and alarmed that Microsoft has not included anything in .NET to cover webcam videos. I am looking for something reliable and relatively simple to replace this faulty webcam.
source share