Microsoft KB Archive/901157

= FIX: An access violation may occur if an inline expansion of the memcpy function occurs in generated code in Windows CE .NET 4.2 =

Article ID: 901157

Article Last Modified on 7/25/2006

-

APPLIES TO


 * Microsoft Windows CE .NET 4.2

-





SYMPTOMS
An access violation may occur in a Microsoft Windows CE .NET 4.2-based application if the following conditions are true:
 * You compile the application by using the Minimize Size or Maximize Speed optimization options.
 * This optimization option causes an inline expansion of the memcpy function in the generated code.



CAUSE
This problem occurs because incorrect code may be generated for inline expansions of the memcpy function on ARM, MIPS, and SH platforms.



Software update information
A supported software update is now available from Microsoft as Windows CE .NET 4.2 Core OS QFE 901157. 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 software update is supported only if all previously issued software updates for this product have also been installed.

Restart requirement
After you install this software update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart the computer after you apply this software update.

Software update replacement information
This software update does not replace any other software updates.

File information
The English version of this software update package has the file attributes or the later file attributes that are listed in the following table.   Date         Time   Size        File name 27-Jul-2005 20:29  10,050,560  Wincepb42-050726-kb901157-common.msi The English version of this software 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: Sdk\Bin\I386 19-Jul-2005 21:15  12.20.9778.0  1,064,960  C1xx_arm.dll 19-Jul-2005 21:19  12.20.9778.0  1,073,152  C1xx_mp.dll 19-Jul-2005 21:14  12.20.9778.0  1,073,152  C1xx_sh.dll 19-Jul-2005 21:15  12.20.9778.0    569,344  C1_arm.dll 19-Jul-2005 21:19  12.20.9778.0    581,632  C1_mp.dll 19-Jul-2005 21:14  12.20.9778.0    581,632  C1_sh.dll 19-Jul-2005 23:21  12.20.9778.0    901,120  C2_sh.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbbug kbfix kbqfe kbpubtypekc KB901157

-

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

© Microsoft Corporation. All rights reserved.