This article describes an issue that triggers a Silverlight for Windows Embedded application crash from a memory leak in a custom control of type VTYPE_BSTR in Windows Embedded Compact 2013. An update is available to resolve this issue. Before you install this update, all previously issued updates for this product must be installed.
You have a Silverlight for Windows Embedded application in Windows Embedded Compact 2013. If the application creates and registers a custom control as a custom dependency property of type VTYPE_BSTR, this may trigger a memory leak. Additionally, the memory leak may cause the application to crash.
- When the IXRCustomUserControl::GetPropertyValue() method is called, an XRValue is returned and sets the XRValue.shouldFreeValuePointer variable to False. This causes a break. If you set XRValue.shouldFreeValuePointer variable to True in your application, this causes a memory leak.
- When the GetDependencyProperty method is called, an XRValue is returned and sets the XRValue.shouldFreeValuePointer variable to True. This causes a memory leak.
Software update information
Download informationWindows Embedded Compact 2013 Monthly Update (July 2015) is now available from Microsoft. To download this Windows Embedded Compact 2013 monthly update, go to Microsoft OEM Online or MyOEM.
PrerequisitesThis update is supported only if all previously issued updates for this product have also been installed.
Restart requirementAfter you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
- On the Build menu, click Clean Solution, and then click Build Solution.
- On the Build menu, click Rebuild Solution.
Update replacement informationThis update does not replace any other updates.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Article ID: 3082657 - Last Review: Aug 20, 2015 - Revision: 1