FIX: An out of memory error or an exception occurs in Windows Embedded Compact 7 when the RenderFile method is called to play a WMV or WMA media file that has lots of information in the header
Consider the following scenario:
You have an application that is running on a Windows Embedded Compact 7-based device. You have a Windows Media Video (.wmv) or Windows Media Audio (.wma) file that stores a very large amount of information in the file header. You use the application to play the file by calling the RenderFile method. In this scenario, you may experience one of the following symptoms when the application begins to play the file:
The application receives the following out of memory error: E_OUTOFMEMORY
An exception occurs. This problem occurs because the system allocates multiple memory locations to store file header information.
Software update information A supported software update is now available from Microsoft as
Windows Embedded Compact 7 Monthly Update March 2012 . In the "File information" section, the package file name contains the processor type.
Note This Windows Embedded Compact 7 Monthly Update is available for download from the following Microsoft Download Center website:
Prerequisites This update is supported only if all previously issued updates for this product have also been installed.
Restart requirement After 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 . You do not have to restart the computer after you apply this software update.
Update replacement information This update does not replace any other updates.
File information The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the
Time Zone tab in the
Date and Time item in Control Panel.
Files that are included in this update package Collapse this table Expand this table
File name File size Date Time Path Wmt_filestrm.lib 1,089,984 08-Mar-2012 01:17 Public\Directx\Oak\Lib\Armv5\Checked Wmt_strmcore.lib 5,865,612 08-Mar-2012 01:17 Public\Directx\Oak\Lib\Armv5\Checked Wmt_filestrm.lib 1,135,958 08-Mar-2012 01:17 Public\Directx\Oak\Lib\Armv5\Debug Wmt_strmcore.lib 6,293,624 08-Mar-2012 01:17 Public\Directx\Oak\Lib\Armv5\Debug Wmt_filestrm.lib 1,016,324 08-Mar-2012 01:17 Public\Directx\Oak\Lib\Armv5\Retail Wmt_strmcore.lib 5,884,500 08-Mar-2012 01:17 Public\Directx\Oak\Lib\Armv5\Retail Wmt_filestrm.lib 1,089,796 08-Mar-2012 01:20 Public\Directx\Oak\Lib\Armv6\Checked Wmt_strmcore.lib 5,861,484 08-Mar-2012 01:20 Public\Directx\Oak\Lib\Armv6\Checked Wmt_filestrm.lib 1,135,512 08-Mar-2012 01:20 Public\Directx\Oak\Lib\Armv6\Debug Wmt_strmcore.lib 6,289,888 08-Mar-2012 01:20 Public\Directx\Oak\Lib\Armv6\Debug Wmt_filestrm.lib 1,016,080 08-Mar-2012 01:20 Public\Directx\Oak\Lib\Armv6\Retail Wmt_strmcore.lib 5,881,002 08-Mar-2012 01:20 Public\Directx\Oak\Lib\Armv6\Retail Wmt_filestrm.lib 1,088,848 08-Mar-2012 01:23 Public\Directx\Oak\Lib\Armv7\Checked Wmt_strmcore.lib 5,843,984 08-Mar-2012 01:23 Public\Directx\Oak\Lib\Armv7\Checked Wmt_filestrm.lib 1,134,712 08-Mar-2012 01:23 Public\Directx\Oak\Lib\Armv7\Debug Wmt_strmcore.lib 6,274,210 08-Mar-2012 01:23 Public\Directx\Oak\Lib\Armv7\Debug Wmt_filestrm.lib 1,015,572 08-Mar-2012 01:23 Public\Directx\Oak\Lib\Armv7\Retail Wmt_strmcore.lib 5,864,046 08-Mar-2012 01:23 Public\Directx\Oak\Lib\Armv7\Retail Wmt_filestrm.lib 1,065,152 08-Mar-2012 01:26 Public\Directx\Oak\Lib\Mipsii\Checked Wmt_strmcore.lib 5,691,472 08-Mar-2012 01:26 Public\Directx\Oak\Lib\Mipsii\Checked Wmt_filestrm.lib 1,121,866 08-Mar-2012 01:26 Public\Directx\Oak\Lib\Mipsii\Debug Wmt_strmcore.lib 6,178,094 08-Mar-2012 01:26 Public\Directx\Oak\Lib\Mipsii\Debug Wmt_filestrm.lib 997,828 08-Mar-2012 01:26 Public\Directx\Oak\Lib\Mipsii\Retail Wmt_strmcore.lib 5,693,014 08-Mar-2012 01:26 Public\Directx\Oak\Lib\Mipsii\Retail Wmt_filestrm.lib 1,066,130 08-Mar-2012 01:29 Public\Directx\Oak\Lib\Mipsii_fp\Checked Wmt_strmcore.lib 5,699,752 08-Mar-2012 01:29 Public\Directx\Oak\Lib\Mipsii_fp\Checked Wmt_filestrm.lib 1,123,170 08-Mar-2012 01:29 Public\Directx\Oak\Lib\Mipsii_fp\Debug Wmt_strmcore.lib 6,190,314 08-Mar-2012 01:29 Public\Directx\Oak\Lib\Mipsii_fp\Debug Wmt_filestrm.lib 998,566 08-Mar-2012 01:29 Public\Directx\Oak\Lib\Mipsii_fp\Retail Wmt_strmcore.lib 5,701,688 08-Mar-2012 01:29 Public\Directx\Oak\Lib\Mipsii_fp\Retail Wmt_filestrm.lib 1,037,670 08-Mar-2012 01:32 Public\Directx\Oak\Lib\Sh4\Checked Wmt_strmcore.lib 5,477,766 08-Mar-2012 01:32 Public\Directx\Oak\Lib\Sh4\Checked Wmt_filestrm.lib 1,093,804 08-Mar-2012 01:32 Public\Directx\Oak\Lib\Sh4\Debug Wmt_strmcore.lib 5,901,002 08-Mar-2012 01:32 Public\Directx\Oak\Lib\Sh4\Debug Wmt_filestrm.lib 979,058 08-Mar-2012 01:31 Public\Directx\Oak\Lib\Sh4\Retail Wmt_strmcore.lib 5,510,416 08-Mar-2012 01:31 Public\Directx\Oak\Lib\Sh4\Retail Wmt_filestrm.lib 1,031,140 08-Mar-2012 01:34 Public\Directx\Oak\Lib\X86\Checked Wmt_strmcore.lib 5,422,630 08-Mar-2012 01:34 Public\Directx\Oak\Lib\X86\Checked Wmt_filestrm.lib 1,046,424 08-Mar-2012 01:34 Public\Directx\Oak\Lib\X86\Debug Wmt_strmcore.lib 5,555,364 08-Mar-2012 01:34 Public\Directx\Oak\Lib\X86\Debug Wmt_filestrm.lib 971,614 08-Mar-2012 01:34 Public\Directx\Oak\Lib\X86\Retail Wmt_strmcore.lib 5,383,858 08-Mar-2012 01:34 Public\Directx\Oak\Lib\X86\Retail
For more information about the
RenderFile method, visit the following Microsoft Developer Network (MSDN) website:
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
Article ID: 2680238 - Last Review: April 10, 2012 - Revision: 1.0
APPLIES TO Windows Embedded Compact 7 kbqfe kbfix kbpubtypekc kbexpertiseinter kbsurveynew KB2680238
Was this information helpful?
How much effort did you personally put forth to use this article?
Tell us why and what can we do to improve this information
Thank you! Your feedback is used to help us improve our support content. For more assistance options, please visit the
Help and Support Home Page .