error for the captureSource.AsyncCaptureImage

Oct 9, 2011 at 4:25 PM

hi,

i getting the error as below when i build the project....

Error 1 'System.Windows.Media.CaptureSource' does not contain a definition for 'AsyncCaptureImage' and no extension method 'AsyncCaptureImage' accepting a first argument of type 'System.Windows.Media.CaptureSource' could be found (are you missing a using directive or an assembly reference?) D:\master\SLARToolkit 1.0.2.0\slartoolkit-44719\trunk\SLARToolKit\Source\SLARToolKitBalderSample\MainPage.xaml.cs 172 24 SLARToolKitBalderSample

 

any solution for this? thanks.

Coordinator
Oct 9, 2011 at 6:33 PM

The method is called CaptureImageAsync

Are sure you're using the latest trunk version.

Oct 9, 2011 at 6:58 PM

yes

Jun 7, 2012 at 5:21 PM

see correct pattern at http://wildermuth.com/2009/11/23/Taking_a_WebCam_Photo_with_Silverlight

and notes on how to convert the old (beta) pattern to the new one: http://kodierer.blogspot.gr/2010/03/silverlight-4-release-candidate.html