I got stuck. :( I want to capture a lot of images from a camera and after every new image, my UI should be updated ...
There is a Camera class (singleton) with a Capture method. This is doing the capturing of the data and stores them into an array. If I start now a measuring, a WPF form (e.g. with an image control and an abort button) should open and start the capturing
of the images in the background. This is not a problem. But if I want to update the image control after every new image, my Camera.Capture method has to "inform" the form about that. But how? It tried to pass a delegate to the Camera.Capture method.
But if this is called, it throws a System.Reflection.TargetInvocationException.
What is the "right / best" way to do this?
View Complete Post