Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

Symptoms

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.

↑ Back to the top


Cause

This problem occurs because the system allocates multiple memory locations to store file header information.

↑ Back to the top


Resolution

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
File nameFile sizeDateTimePath
Wmt_filestrm.lib1,089,98408-Mar-201201:17Public\Directx\Oak\Lib\Armv5\Checked
Wmt_strmcore.lib5,865,61208-Mar-201201:17Public\Directx\Oak\Lib\Armv5\Checked
Wmt_filestrm.lib1,135,95808-Mar-201201:17Public\Directx\Oak\Lib\Armv5\Debug
Wmt_strmcore.lib6,293,62408-Mar-201201:17Public\Directx\Oak\Lib\Armv5\Debug
Wmt_filestrm.lib1,016,32408-Mar-201201:17Public\Directx\Oak\Lib\Armv5\Retail
Wmt_strmcore.lib5,884,50008-Mar-201201:17Public\Directx\Oak\Lib\Armv5\Retail
Wmt_filestrm.lib1,089,79608-Mar-201201:20Public\Directx\Oak\Lib\Armv6\Checked
Wmt_strmcore.lib5,861,48408-Mar-201201:20Public\Directx\Oak\Lib\Armv6\Checked
Wmt_filestrm.lib1,135,51208-Mar-201201:20Public\Directx\Oak\Lib\Armv6\Debug
Wmt_strmcore.lib6,289,88808-Mar-201201:20Public\Directx\Oak\Lib\Armv6\Debug
Wmt_filestrm.lib1,016,08008-Mar-201201:20Public\Directx\Oak\Lib\Armv6\Retail
Wmt_strmcore.lib5,881,00208-Mar-201201:20Public\Directx\Oak\Lib\Armv6\Retail
Wmt_filestrm.lib1,088,84808-Mar-201201:23Public\Directx\Oak\Lib\Armv7\Checked
Wmt_strmcore.lib5,843,98408-Mar-201201:23Public\Directx\Oak\Lib\Armv7\Checked
Wmt_filestrm.lib1,134,71208-Mar-201201:23Public\Directx\Oak\Lib\Armv7\Debug
Wmt_strmcore.lib6,274,21008-Mar-201201:23Public\Directx\Oak\Lib\Armv7\Debug
Wmt_filestrm.lib1,015,57208-Mar-201201:23Public\Directx\Oak\Lib\Armv7\Retail
Wmt_strmcore.lib5,864,04608-Mar-201201:23Public\Directx\Oak\Lib\Armv7\Retail
Wmt_filestrm.lib1,065,15208-Mar-201201:26Public\Directx\Oak\Lib\Mipsii\Checked
Wmt_strmcore.lib5,691,47208-Mar-201201:26Public\Directx\Oak\Lib\Mipsii\Checked
Wmt_filestrm.lib1,121,86608-Mar-201201:26Public\Directx\Oak\Lib\Mipsii\Debug
Wmt_strmcore.lib6,178,09408-Mar-201201:26Public\Directx\Oak\Lib\Mipsii\Debug
Wmt_filestrm.lib997,82808-Mar-201201:26Public\Directx\Oak\Lib\Mipsii\Retail
Wmt_strmcore.lib5,693,01408-Mar-201201:26Public\Directx\Oak\Lib\Mipsii\Retail
Wmt_filestrm.lib1,066,13008-Mar-201201:29Public\Directx\Oak\Lib\Mipsii_fp\Checked
Wmt_strmcore.lib5,699,75208-Mar-201201:29Public\Directx\Oak\Lib\Mipsii_fp\Checked
Wmt_filestrm.lib1,123,17008-Mar-201201:29Public\Directx\Oak\Lib\Mipsii_fp\Debug
Wmt_strmcore.lib6,190,31408-Mar-201201:29Public\Directx\Oak\Lib\Mipsii_fp\Debug
Wmt_filestrm.lib998,56608-Mar-201201:29Public\Directx\Oak\Lib\Mipsii_fp\Retail
Wmt_strmcore.lib5,701,68808-Mar-201201:29Public\Directx\Oak\Lib\Mipsii_fp\Retail
Wmt_filestrm.lib1,037,67008-Mar-201201:32Public\Directx\Oak\Lib\Sh4\Checked
Wmt_strmcore.lib5,477,76608-Mar-201201:32Public\Directx\Oak\Lib\Sh4\Checked
Wmt_filestrm.lib1,093,80408-Mar-201201:32Public\Directx\Oak\Lib\Sh4\Debug
Wmt_strmcore.lib5,901,00208-Mar-201201:32Public\Directx\Oak\Lib\Sh4\Debug
Wmt_filestrm.lib979,05808-Mar-201201:31Public\Directx\Oak\Lib\Sh4\Retail
Wmt_strmcore.lib5,510,41608-Mar-201201:31Public\Directx\Oak\Lib\Sh4\Retail
Wmt_filestrm.lib1,031,14008-Mar-201201:34Public\Directx\Oak\Lib\X86\Checked
Wmt_strmcore.lib5,422,63008-Mar-201201:34Public\Directx\Oak\Lib\X86\Checked
Wmt_filestrm.lib1,046,42408-Mar-201201:34Public\Directx\Oak\Lib\X86\Debug
Wmt_strmcore.lib5,555,36408-Mar-201201:34Public\Directx\Oak\Lib\X86\Debug
Wmt_filestrm.lib971,61408-Mar-201201:34Public\Directx\Oak\Lib\X86\Retail
Wmt_strmcore.lib5,383,85808-Mar-201201:34Public\Directx\Oak\Lib\X86\Retail

↑ Back to the top


References

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 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: kbqfe, kbfix, kbnotautohotfix, kbpubtypekc, kbexpertiseinter, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2680238
Revision : 1
Created on : 1/7/2017
Published on : 4/10/2012
Exists online : False
Views : 177