I'm trying to add a new window to my wpf project that shows a webcam, but I get an exception on at
Searching I found that
enumD.CreateClassEnumerator(ref g, out moniker, 0) returns "1" at "CapDevice.cs", and I don't know why.
If I start a new project and copy that window, works fine.
My project uses framework 4 client, so I changed the framework of the new project and it started to fail, but if I change again to framework 4.5 the problem persists.
Can anyone help me?