ExtractDeviceCapabilities object reference not set to an instance of an object

Nov 3, 2014 at 1:36 PM
In PortableDeviceCapabilities.cs there is an ExtractDeviceCapabilities method and I am getting a null exception on pValues when trying to call SetValue inside the loop of countCategories.

Any idea what has changed?
Nov 3, 2014 at 2:18 PM
When stepping through code it becomes null after functionalCategories.GetAt(i, ref values); I simply moved it into the loop after that line and it works now. Strange.
Nov 3, 2014 at 5:36 PM

I'm sorry I don't maintains this project anymore.
Additionally, Microsoft doesn't seem to support this API anymore and the NESL project (Native extension for Silverlight) is dead.


Vincent Lainé