FIX: The IDispatch::Invoke method in Atlcom.h leaks memory in Windows CE .NET 4.1 (884024)



The information in this article applies to:

  • Microsoft Windows CE .NET 4.1

SYMPTOMS

An application can call Automation methods that are implemented by using Active Template Library (ATL). However, when the application does this, the application increases its total memory usage over time.

CAUSE

The IDispatch::Invoke method implementation in Atlcom.h allocates memory to make function calls. However, the IDispatch::Invoke method does not release memory for some processors.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE 4.1 Core OS QFE 884024. 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

Prerequisites

This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you install this update, you must perform a clean build of the whole operating system. To perform a clean build of the operating system, follow these steps:
  1. On the Build menu, click Clean.
  2. On the Build menu, click Build Platform.
You do not have to restart your computer after you apply this update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this update 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 tool in Control Panel.
   Date         Time   Version            Size    File name
   --------------------------------------------------------------

   Path: Signed
   14-Aug-2004  01:09  4.1.4.813         551,672  Wincepb41-040813-kb884024-common.exe  
The English version of this package has the file attributes (or later) that are listed in the following table.
   Date         Time   Version            Size    File name
   --------------------------------------------------------------

   Path: Others\Atl\Include
   28-Jul-2004  21:30                    161,748  Atlcom.h

STATUS

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

MORE INFORMATION

After you install the update, you have to export the software development kit (SDK) for each operating system that requires the update.

Modification Type:MinorLast Reviewed:5/27/2005
Keywords:kbBug kbfix kbQFE KB884024 kbAudDeveloper kbAudOEM