Camera Capture with WIA, C# and Win 7
I try to take a picture from a webcam with WIA 2.0, C#, .net 4.0 on Windows 7. I tried many different samples, but nothing works. I always get this Exception: "ComException was unhandled" Exception from HRESULT: 0x80210015 ". The code is WIA_S_NO_DEVICE_AVAILABLE . I checked, if WIA-Service is running and if the cam shows up in Scanners and Camera. I have no idea whats wrong here! Can anybody help? Exception is thrown on this line: Device d = class1.ShowSelectDevice(WiaDeviceType.CameraDeviceType, true, false);: Here the code string DeviceID; const string wiaFormatBMP = "{B96B3CAB-0728-11D3