Hallo, I'm using RadWebCam control into a UserControl and everything works as expected.
So, if I call myradwebcam.TakeSnapShot() within the UserControl that contains the RadWebCam control, everything is ok.
But if I call myradwebcam.TakeSnapShot() from another class (i.e. another UserControl) I receive a System.NullReferenceException.
Am I doing something wrong?
Thank's,
Luca
P.S. Here the exception:
System.NullReferenceException
HResult=0x80004003
Messaggio=Riferimento a un oggetto non impostato su un'istanza di oggetto.
Origine=Telerik.Windows.Controls.Media
Analisi dello stack:
in Telerik.Windows.Controls.RadWebCam.TakeSnapshot()
in TestVisoreIfm.Pannello_Dashboard.btnScansione_Click(Object sender, RoutedEventArgs e) in D:\repos\TestVisoreIfm\Pannello_Dashboard.xaml.cs: riga 517