Article ID: 2490604 - Last Review: February 8, 2011 - Revision: 1.0

FIX: You cannot build sample code that includes the Imgguids.h header file for a Windows Embedded CE 6.0-based image

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.

On This Page

Expand all | Collapse all

SYMPTOMS

Consider the following scenario:
  • You have Windows Embedded CE 6.0 with Cumulative Product Update Rollup Package (through 12/31/2009) installed.

    Note You can download and install the Windows Embedded CE 6.0 Cumulative Product Update Rollup Package (through 12/31/2009) from the following Microsoft Download Center website:
    Windows Embedded CE 6.0 Cumulative Product Update Rollup Package (through 12/31/2009) (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0e929f91-a379-4277-80d5-a66e3b821ba1&displaylang=en)
  • You generate a Windows Embedded CE 6.0-based image. The image contains the files for the components that support the Imaging API.
  • You try to build some sample code from the %_WINCEROOT%\public\gdiex\sdk\samples directory. The sample code includes the Imgguids.h header file.
In this scenario, the build operation fails.

CAUSE

This issue occurs because the Imgguids.h file has an additional directive "#pragma once". In this case, some inclusions of the Imgguids.h file are not supported.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows Embedded CE 6.0 Platform Builder Monthly Update (January, 2011). You can confirm this by scrolling to the "File information" 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 Embedded 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 Embedded CE Platform Builder and core operating system software updates:
837392  (http://support.microsoft.com/kb/837392/ ) How to locate core operating system fixes for Microsoft Windows Embedded CE Platform Builder products
Note This Windows Embedded CE 6.0 Monthly Update is also available for download from the following Microsoft Download Center website:
Windows Embedded CE 6.0 Updates (http://www.microsoft.com/downloads/en/ResultsForProduct.aspx?productID=f8af6708-edcb-472a-829d-f73d951c35a1&stype=ss_sd&displaylang=en&nr=10&sortCriteria=Popularity&sortOrder=Ascending)

Prerequisite

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

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this software update package 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.

Collapse this tableExpand this table
File nameFile sizeDateTimePath
Windows embedded ce 6.0_update_kb2490604.htm7,82325-Jan-201120:32110125_kb2490604
Imgcodec.lib229,33405-Jan-201116:44Public\Gdiex\Oak\Lib\Armv4i\Debug
Imgsimple.lib121,02205-Jan-201116:44Public\Gdiex\Oak\Lib\Armv4i\Debug
Imgcodec.lib224,92605-Jan-201116:44Public\Gdiex\Oak\Lib\Armv4i\Retail
Imgsimple.lib116,20205-Jan-201116:44Public\Gdiex\Oak\Lib\Armv4i\Retail
Imgcodec.lib226,43205-Jan-201116:50Public\Gdiex\Oak\Lib\Mipsii\Debug
Imgsimple.lib117,50605-Jan-201116:50Public\Gdiex\Oak\Lib\Mipsii\Debug
Imgcodec.lib219,20805-Jan-201116:50Public\Gdiex\Oak\Lib\Mipsii\Retail
Imgsimple.lib112,56005-Jan-201116:50Public\Gdiex\Oak\Lib\Mipsii\Retail
Imgcodec.lib226,70805-Jan-201116:55Public\Gdiex\Oak\Lib\Mipsii_fp\Debug
Imgsimple.lib117,51605-Jan-201116:55Public\Gdiex\Oak\Lib\Mipsii_fp\Debug
Imgcodec.lib219,49205-Jan-201116:55Public\Gdiex\Oak\Lib\Mipsii_fp\Retail
Imgsimple.lib112,57205-Jan-201116:55Public\Gdiex\Oak\Lib\Mipsii_fp\Retail
Imgcodec.lib228,02005-Jan-201117:01Public\Gdiex\Oak\Lib\Mipsiv\Debug
Imgsimple.lib117,96605-Jan-201117:01Public\Gdiex\Oak\Lib\Mipsiv\Debug
Imgcodec.lib220,50205-Jan-201117:01Public\Gdiex\Oak\Lib\Mipsiv\Retail
Imgsimple.lib113,00205-Jan-201117:01Public\Gdiex\Oak\Lib\Mipsiv\Retail
Imgcodec.lib228,08405-Jan-201117:07Public\Gdiex\Oak\Lib\Mipsiv_fp\Debug
Imgsimple.lib117,97605-Jan-201117:07Public\Gdiex\Oak\Lib\Mipsiv_fp\Debug
Imgcodec.lib220,58205-Jan-201117:07Public\Gdiex\Oak\Lib\Mipsiv_fp\Retail
Imgsimple.lib113,01405-Jan-201117:07Public\Gdiex\Oak\Lib\Mipsiv_fp\Retail
Imgcodec.lib210,31205-Jan-201117:12Public\Gdiex\Oak\Lib\Sh4\Debug
Imgsimple.lib110,73405-Jan-201117:13Public\Gdiex\Oak\Lib\Sh4\Debug
Imgcodec.lib206,73805-Jan-201117:12Public\Gdiex\Oak\Lib\Sh4\Retail
Imgsimple.lib108,01205-Jan-201117:12Public\Gdiex\Oak\Lib\Sh4\Retail
Imgcodec.lib205,64805-Jan-201116:38Public\Gdiex\Oak\Lib\X86\Debug
Imgsimple.lib111,22805-Jan-201116:38Public\Gdiex\Oak\Lib\X86\Debug
Imgcodec.lib206,77005-Jan-201116:38Public\Gdiex\Oak\Lib\X86\Retail
Imgsimple.lib110,06005-Jan-201116:38Public\Gdiex\Oak\Lib\X86\Retail
Imgguids.h5,09505-Jan-201117:14Public\Gdiex\Sdk\Inc
Ceshui.lib1,482,07805-Jan-201116:41Public\Shell\Oak\Lib\Armv4i\Debug
Odlib.lib5,725,55205-Jan-201116:44Public\Shell\Oak\Lib\Armv4i\Debug
Ceshui.lib1,301,94805-Jan-201116:41Public\Shell\Oak\Lib\Armv4i\Retail
Odlib.lib5,370,21805-Jan-201116:43Public\Shell\Oak\Lib\Armv4i\Retail
Ceshui.lib1,403,90405-Jan-201116:47Public\Shell\Oak\Lib\Mipsii\Debug
Odlib.lib5,664,76005-Jan-201116:49Public\Shell\Oak\Lib\Mipsii\Debug
Ceshui.lib1,248,80805-Jan-201116:47Public\Shell\Oak\Lib\Mipsii\Retail
Odlib.lib5,179,85405-Jan-201116:48Public\Shell\Oak\Lib\Mipsii\Retail
Ceshui.lib1,404,17005-Jan-201116:53Public\Shell\Oak\Lib\Mipsii_fp\Debug
Odlib.lib5,666,66805-Jan-201116:55Public\Shell\Oak\Lib\Mipsii_fp\Debug
Ceshui.lib1,248,95405-Jan-201116:53Public\Shell\Oak\Lib\Mipsii_fp\Retail
Odlib.lib5,179,66205-Jan-201116:54Public\Shell\Oak\Lib\Mipsii_fp\Retail
Ceshui.lib1,425,58805-Jan-201116:59Public\Shell\Oak\Lib\Mipsiv\Debug
Odlib.lib5,704,93205-Jan-201117:01Public\Shell\Oak\Lib\Mipsiv\Debug
Ceshui.lib1,259,43405-Jan-201116:58Public\Shell\Oak\Lib\Mipsiv\Retail
Odlib.lib5,208,66605-Jan-201117:00Public\Shell\Oak\Lib\Mipsiv\Retail
Ceshui.lib1,425,85405-Jan-201117:04Public\Shell\Oak\Lib\Mipsiv_fp\Debug
Odlib.lib5,703,33805-Jan-201117:07Public\Shell\Oak\Lib\Mipsiv_fp\Debug
Ceshui.lib1,259,58005-Jan-201117:04Public\Shell\Oak\Lib\Mipsiv_fp\Retail
Odlib.lib5,207,10405-Jan-201117:05Public\Shell\Oak\Lib\Mipsiv_fp\Retail
Ceshui.lib1,260,46605-Jan-201117:10Public\Shell\Oak\Lib\Sh4\Debug
Odlib.lib5,336,72405-Jan-201117:12Public\Shell\Oak\Lib\Sh4\Debug
Ceshui.lib1,158,20605-Jan-201117:10Public\Shell\Oak\Lib\Sh4\Retail
Odlib.lib4,911,57205-Jan-201117:11Public\Shell\Oak\Lib\Sh4\Retail
Ceshui.lib1,240,93605-Jan-201116:36Public\Shell\Oak\Lib\X86\Debug
Odlib.lib4,836,13205-Jan-201116:38Public\Shell\Oak\Lib\X86\Debug
Ceshui.lib1,186,37205-Jan-201116:36Public\Shell\Oak\Lib\X86\Retail
Odlib.lib4,712,46005-Jan-201116:37Public\Shell\Oak\Lib\X86\Retail
Msmsgs.lib6,007,98005-Jan-201116:41Public\Voip\Oak\Lib\Armv4i\Debug
Msmsgs.lib4,289,27605-Jan-201116:40Public\Voip\Oak\Lib\Armv4i\Retail
Msmsgs.lib5,786,85605-Jan-201116:47Public\Voip\Oak\Lib\Mipsii\Debug
Msmsgs.lib4,130,27605-Jan-201116:46Public\Voip\Oak\Lib\Mipsii\Retail
Msmsgs.lib5,787,21605-Jan-201116:52Public\Voip\Oak\Lib\Mipsii_fp\Debug
Msmsgs.lib4,130,65005-Jan-201116:52Public\Voip\Oak\Lib\Mipsii_fp\Retail
Msmsgs.lib5,845,20805-Jan-201116:58Public\Voip\Oak\Lib\Mipsiv\Debug
Msmsgs.lib4,151,66805-Jan-201116:58Public\Voip\Oak\Lib\Mipsiv\Retail
Msmsgs.lib5,845,57405-Jan-201117:04Public\Voip\Oak\Lib\Mipsiv_fp\Debug
Msmsgs.lib4,152,03805-Jan-201117:03Public\Voip\Oak\Lib\Mipsiv_fp\Retail
Msmsgs.lib5,391,60405-Jan-201117:09Public\Voip\Oak\Lib\Sh4\Debug
Msmsgs.lib3,843,69405-Jan-201117:09Public\Voip\Oak\Lib\Sh4\Retail
Msmsgs.lib5,015,40005-Jan-201116:36Public\Voip\Oak\Lib\X86\Debug
Msmsgs.lib3,698,46005-Jan-201116:35Public\Voip\Oak\Lib\X86\Retail
Cplmain.lib1,343,90805-Jan-201116:45Public\Wceshellfe\Oak\Lib\Armv4i\Debug
Transcriber.lib1,742,59405-Jan-201116:46Public\Wceshellfe\Oak\Lib\Armv4i\Debug
Cplmain.lib997,55005-Jan-201116:44Public\Wceshellfe\Oak\Lib\Armv4i\Retail
Transcriber.lib1,517,98405-Jan-201116:45Public\Wceshellfe\Oak\Lib\Armv4i\Retail
Cplmain.lib1,319,87205-Jan-201116:50Public\Wceshellfe\Oak\Lib\Mipsii\Debug
Transcriber.lib1,694,19005-Jan-201116:51Public\Wceshellfe\Oak\Lib\Mipsii\Debug
Cplmain.lib1,004,25205-Jan-201116:50Public\Wceshellfe\Oak\Lib\Mipsii\Retail
Transcriber.lib1,496,43405-Jan-201116:51Public\Wceshellfe\Oak\Lib\Mipsii\Retail
Cplmain.lib1,320,38805-Jan-201116:56Public\Wceshellfe\Oak\Lib\Mipsii_fp\Debug
Transcriber.lib1,694,61205-Jan-201116:57Public\Wceshellfe\Oak\Lib\Mipsii_fp\Debug
Cplmain.lib1,004,84205-Jan-201116:56Public\Wceshellfe\Oak\Lib\Mipsii_fp\Retail
Transcriber.lib1,496,90405-Jan-201116:57Public\Wceshellfe\Oak\Lib\Mipsii_fp\Retail
Cplmain.lib1,342,03805-Jan-201117:02Public\Wceshellfe\Oak\Lib\Mipsiv\Debug
Transcriber.lib1,710,71605-Jan-201117:03Public\Wceshellfe\Oak\Lib\Mipsiv\Debug
Cplmain.lib1,019,74205-Jan-201117:01Public\Wceshellfe\Oak\Lib\Mipsiv\Retail
Transcriber.lib1,510,51205-Jan-201117:02Public\Wceshellfe\Oak\Lib\Mipsiv\Retail
Cplmain.lib1,342,34405-Jan-201117:07Public\Wceshellfe\Oak\Lib\Mipsiv_fp\Debug
Transcriber.lib1,711,13805-Jan-201117:08Public\Wceshellfe\Oak\Lib\Mipsiv_fp\Debug
Cplmain.lib1,020,11405-Jan-201117:07Public\Wceshellfe\Oak\Lib\Mipsiv_fp\Retail
Transcriber.lib1,510,98205-Jan-201117:08Public\Wceshellfe\Oak\Lib\Mipsiv_fp\Retail
Cplmain.lib1,148,57405-Jan-201117:13Public\Wceshellfe\Oak\Lib\Sh4\Debug
Transcriber.lib1,512,86205-Jan-201117:14Public\Wceshellfe\Oak\Lib\Sh4\Debug
Cplmain.lib905,40205-Jan-201117:13Public\Wceshellfe\Oak\Lib\Sh4\Retail
Transcriber.lib1,389,46805-Jan-201117:14Public\Wceshellfe\Oak\Lib\Sh4\Retail
Cplmain.lib1,131,43405-Jan-201116:39Public\Wceshellfe\Oak\Lib\X86\Debug
Transcriber.lib1,543,35405-Jan-201116:40Public\Wceshellfe\Oak\Lib\X86\Debug
Cplmain.lib909,00605-Jan-201116:39Public\Wceshellfe\Oak\Lib\X86\Retail
Transcriber.lib1,447,65805-Jan-201116:40Public\Wceshellfe\Oak\Lib\X86\Retail

STATUS

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

MORE INFORMATION

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://support.microsoft.com/kb/824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

APPLIES TO
  • Windows Embedded CE 6.0
Keywords: 
kbqfe kbfix kbexpertiseadvanced kbsurveynew atdownload KB2490604