Microsoft KB Archive/884025

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

Article ID: 884025

Article Last Modified on 5/27/2005

-

APPLIES TO


 * Microsoft Windows CE .NET 4.2

-





SYMPTOMS
An application can call Automation methods that are implemented by using Active Template Library (ATL). 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 implementation does not release memory for some processors.



Software update information
A supported software update is now available from Microsoft as Windows CE 4.2 Core OS QFE 884025. 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:12  4.2.4.813         551,672  Wincepb42-040813-kb884025-common.exe After the hotfix is installed, the following files will have the listed attributes or later:   Date         Time   Version            Size    File name --

Path: Others\Atl\Include 30-Jul-2004 00:09                    161,791  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
Additionally, after installing the update, you have to export the operating system software development kit (SDK) for each operating system that requires the update.

Keywords: kbbug kbfix kbqfe KB884025

-

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

© Microsoft Corporation. All rights reserved.