Microsoft KB Archive/884024

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

Article ID: 884024

Article Last Modified on 5/27/2005

-

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.



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 &quot;Applies to&quot; 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.

Keywords: kbbug kbfix kbqfe KB884024

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.