FIX: When you run an application that calls the IDispEventImpl::Invoke Automation function or calls the IDispEventSimpleImpl::Invoke Automation function on a Windows CE 5.0-based device, that application increases its total memory usage over time

Article translations Article translations
Article ID: 974457 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

You have an application that calls the IDispEventImpl::Invoke Automation function or calls the IDispEventSimpleImpl::Invoke Automation function that is implemented by using Active Template Library (ATL). When you run that application on a Windows CE 5.0-based device, that application increases its total memory usage over time.

CAUSE

This problem occurs because both the IDispEventImpl::Invoke Automation function and the IDispEventSimpleImpl::Invoke Automation function do not release memory that is allocated for certain processes.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE 5.0 Platform Builder Monthly Update (October 2009). You can confirm this by scrolling to the "File information" section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:
Product version-yymmdd-kbnnnnnn-processor type
For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:
837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Restart requirement

After you apply this software update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build OS menu, make sure that the following options are selected, and then click Sysgen.
    • Clean Before Building
    • Copy Files to Release Directory After Build
    • Make Run-Time Image After Build
  • On the Build OS menu, click Open Release Directory, type blddemo clean -q at the command prompt, and then press ENTER.
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.
Collapse this tableExpand this table
File nameFile sizeDateTime
Wincepb50-091021-kb974457- common.msi460,28822-Oct-200900:14


Collapse this tableExpand this table
File nameFile sizeDateTimePath
Windows ce 5.0_update_kb974457.htm6,63922-Oct-200900:09091021_kb974457
Atlcom.h161,97515-Oct-200900:25Others\Atl\Include

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about dispatch interface and Automation functions, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn.microsoft.com/en-us/library/ms221328.aspx
For more information about the same problem in Windows CE .NET 4.2, click the following article number to view the article in the Microsoft Knowledge Base:
884025 FIX: The IDispatch::Invoke method in Atlcom.h leaks memory in Windows CE .NET 4.2
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

Properties

Article ID: 974457 - Last Review: November 24, 2009 - Revision: 1.0
APPLIES TO
  • Microsoft Windows CE 5.0
Keywords: 
kbexpertiseadvanced kbsurveynew kbqfe KB974457

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com