Microsoft KB Archive/935547

= FIX: You may receive compiler warning messages when you build a native ATL-based application that uses a custom SDK for a Windows CE 5.0 platform in Visual Studio 2005 Service Pack 1 =

Article ID: 935547

Article Last Modified on 5/10/2007

-

APPLIES TO


 * Microsoft Windows CE 5.0

-



SYMPTOMS
Consider the following scenario:
 * You build a custom SDK for a Microsoft Windows CE 5.0 platform.
 * The custom SDK includes development support for native Active Template Library (ATL) based applications.
 * Software update 926260 is installed on the computer that has Platform Builder 5.0 installed.

Note Software update 926260 is included in the following updates:
 * Windows CE 5.0 Platform Builder - Cumulative Product Update Rollup Package (through 12/31/2006)
 * Windows CE 5.0 Platform Builder Monthly Update (November 2006)

In this scenario, when you build a native ATL-based application that uses the custom SDK in Microsoft Visual Studio 2005 Service Pack 1 (SP1), you receive compiler warning messages that resemble the following:

C:\Program Files\Microsoft Visual Studio 8\VC\ce\include\sal.h(537) : warning C4005: '__out_bcount_part' : macro redefinition C:\Program Files\Windows CE Tools\wce500\Champ2\include\ARMV4I\specstrings.h(393) : see previous definition of '__out_bcount_part' C:\Program Files\Microsoft Visual Studio 8\VC\ce\include\sal.h(566) : warning C4005: '__in_bcount_opt' : macro redefinition C:\Program Files\Windows CE Tools\wce500\Champ2\include\ARMV4I\specstrings.h(392) : see previous definition of '__in_bcount_opt' C:\Program Files\Microsoft Visual Studio 8\VC\ce\include\sal.h(575) : warning C4005: '__out_bcount_opt' : macro redefinition C:\Program Files\Windows CE Tools\wce500\Champ2\include\ARMV4I\specstrings.h(391) : see previous definition of '__out_bcount_opt'



Software update information
A supported software update is now available from Microsoft as Windows CE 5.0 Platform Builder Monthly Update (April 2007). You can confirm this by scrolling to the &quot;File information&quot; 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

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

Restart requirement
After you apply 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.

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 item in Control Panel.



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

