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

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)

  • 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 typeFor 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 How to locate core operating system fixes for Microsoft Windows Embedded CE Platform Builder productsNote 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

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.


File name

File size

Date

Time

Path

Windows embedded ce 6.0_update_kb2490604.htm

7,823

25-Jan-2011

20:32

110125_kb2490604

Imgcodec.lib

229,334

05-Jan-2011

16:44

Public\Gdiex\Oak\Lib\Armv4i\Debug

Imgsimple.lib

121,022

05-Jan-2011

16:44

Public\Gdiex\Oak\Lib\Armv4i\Debug

Imgcodec.lib

224,926

05-Jan-2011

16:44

Public\Gdiex\Oak\Lib\Armv4i\Retail

Imgsimple.lib

116,202

05-Jan-2011

16:44

Public\Gdiex\Oak\Lib\Armv4i\Retail

Imgcodec.lib

226,432

05-Jan-2011

16:50

Public\Gdiex\Oak\Lib\Mipsii\Debug

Imgsimple.lib

117,506

05-Jan-2011

16:50

Public\Gdiex\Oak\Lib\Mipsii\Debug

Imgcodec.lib

219,208

05-Jan-2011

16:50

Public\Gdiex\Oak\Lib\Mipsii\Retail

Imgsimple.lib

112,560

05-Jan-2011

16:50

Public\Gdiex\Oak\Lib\Mipsii\Retail

Imgcodec.lib

226,708

05-Jan-2011

16:55

Public\Gdiex\Oak\Lib\Mipsii_fp\Debug

Imgsimple.lib

117,516

05-Jan-2011

16:55

Public\Gdiex\Oak\Lib\Mipsii_fp\Debug

Imgcodec.lib

219,492

05-Jan-2011

16:55

Public\Gdiex\Oak\Lib\Mipsii_fp\Retail

Imgsimple.lib

112,572

05-Jan-2011

16:55

Public\Gdiex\Oak\Lib\Mipsii_fp\Retail

Imgcodec.lib

228,020

05-Jan-2011

17:01

Public\Gdiex\Oak\Lib\Mipsiv\Debug

Imgsimple.lib

117,966

05-Jan-2011

17:01

Public\Gdiex\Oak\Lib\Mipsiv\Debug

Imgcodec.lib

220,502

05-Jan-2011

17:01

Public\Gdiex\Oak\Lib\Mipsiv\Retail

Imgsimple.lib

113,002

05-Jan-2011

17:01

Public\Gdiex\Oak\Lib\Mipsiv\Retail

Imgcodec.lib

228,084

05-Jan-2011

17:07

Public\Gdiex\Oak\Lib\Mipsiv_fp\Debug

Imgsimple.lib

117,976

05-Jan-2011

17:07

Public\Gdiex\Oak\Lib\Mipsiv_fp\Debug

Imgcodec.lib

220,582

05-Jan-2011

17:07

Public\Gdiex\Oak\Lib\Mipsiv_fp\Retail

Imgsimple.lib

113,014

05-Jan-2011

17:07

Public\Gdiex\Oak\Lib\Mipsiv_fp\Retail

Imgcodec.lib

210,312

05-Jan-2011

17:12

Public\Gdiex\Oak\Lib\Sh4\Debug

Imgsimple.lib

110,734

05-Jan-2011

17:13

Public\Gdiex\Oak\Lib\Sh4\Debug

Imgcodec.lib

206,738

05-Jan-2011

17:12

Public\Gdiex\Oak\Lib\Sh4\Retail

Imgsimple.lib

108,012

05-Jan-2011

17:12

Public\Gdiex\Oak\Lib\Sh4\Retail

Imgcodec.lib

205,648

05-Jan-2011

16:38

Public\Gdiex\Oak\Lib\X86\Debug

Imgsimple.lib

111,228

05-Jan-2011

16:38

Public\Gdiex\Oak\Lib\X86\Debug

Imgcodec.lib

206,770

05-Jan-2011

16:38

Public\Gdiex\Oak\Lib\X86\Retail

Imgsimple.lib

110,060

05-Jan-2011

16:38

Public\Gdiex\Oak\Lib\X86\Retail

Imgguids.h

5,095

05-Jan-2011

17:14

Public\Gdiex\Sdk\Inc

Ceshui.lib

1,482,078

05-Jan-2011

16:41

Public\Shell\Oak\Lib\Armv4i\Debug

Odlib.lib

5,725,552

05-Jan-2011

16:44

Public\Shell\Oak\Lib\Armv4i\Debug

Ceshui.lib

1,301,948

05-Jan-2011

16:41

Public\Shell\Oak\Lib\Armv4i\Retail

Odlib.lib

5,370,218

05-Jan-2011

16:43

Public\Shell\Oak\Lib\Armv4i\Retail

Ceshui.lib

1,403,904

05-Jan-2011

16:47

Public\Shell\Oak\Lib\Mipsii\Debug

Odlib.lib

5,664,760

05-Jan-2011

16:49

Public\Shell\Oak\Lib\Mipsii\Debug

Ceshui.lib

1,248,808

05-Jan-2011

16:47

Public\Shell\Oak\Lib\Mipsii\Retail

Odlib.lib

5,179,854

05-Jan-2011

16:48

Public\Shell\Oak\Lib\Mipsii\Retail

Ceshui.lib

1,404,170

05-Jan-2011

16:53

Public\Shell\Oak\Lib\Mipsii_fp\Debug

Odlib.lib

5,666,668

05-Jan-2011

16:55

Public\Shell\Oak\Lib\Mipsii_fp\Debug

Ceshui.lib

1,248,954

05-Jan-2011

16:53

Public\Shell\Oak\Lib\Mipsii_fp\Retail

Odlib.lib

5,179,662

05-Jan-2011

16:54

Public\Shell\Oak\Lib\Mipsii_fp\Retail

Ceshui.lib

1,425,588

05-Jan-2011

16:59

Public\Shell\Oak\Lib\Mipsiv\Debug

Odlib.lib

5,704,932

05-Jan-2011

17:01

Public\Shell\Oak\Lib\Mipsiv\Debug

Ceshui.lib

1,259,434

05-Jan-2011

16:58

Public\Shell\Oak\Lib\Mipsiv\Retail

Odlib.lib

5,208,666

05-Jan-2011

17:00

Public\Shell\Oak\Lib\Mipsiv\Retail

Ceshui.lib

1,425,854

05-Jan-2011

17:04

Public\Shell\Oak\Lib\Mipsiv_fp\Debug

Odlib.lib

5,703,338

05-Jan-2011

17:07

Public\Shell\Oak\Lib\Mipsiv_fp\Debug

Ceshui.lib

1,259,580

05-Jan-2011

17:04

Public\Shell\Oak\Lib\Mipsiv_fp\Retail

Odlib.lib

5,207,104

05-Jan-2011

17:05

Public\Shell\Oak\Lib\Mipsiv_fp\Retail

Ceshui.lib

1,260,466

05-Jan-2011

17:10

Public\Shell\Oak\Lib\Sh4\Debug

Odlib.lib

5,336,724

05-Jan-2011

17:12

Public\Shell\Oak\Lib\Sh4\Debug

Ceshui.lib

1,158,206

05-Jan-2011

17:10

Public\Shell\Oak\Lib\Sh4\Retail

Odlib.lib

4,911,572

05-Jan-2011

17:11

Public\Shell\Oak\Lib\Sh4\Retail

Ceshui.lib

1,240,936

05-Jan-2011

16:36

Public\Shell\Oak\Lib\X86\Debug

Odlib.lib

4,836,132

05-Jan-2011

16:38

Public\Shell\Oak\Lib\X86\Debug

Ceshui.lib

1,186,372

05-Jan-2011

16:36

Public\Shell\Oak\Lib\X86\Retail

Odlib.lib

4,712,460

05-Jan-2011

16:37

Public\Shell\Oak\Lib\X86\Retail

Msmsgs.lib

6,007,980

05-Jan-2011

16:41

Public\Voip\Oak\Lib\Armv4i\Debug

Msmsgs.lib

4,289,276

05-Jan-2011

16:40

Public\Voip\Oak\Lib\Armv4i\Retail

Msmsgs.lib

5,786,856

05-Jan-2011

16:47

Public\Voip\Oak\Lib\Mipsii\Debug

Msmsgs.lib

4,130,276

05-Jan-2011

16:46

Public\Voip\Oak\Lib\Mipsii\Retail

Msmsgs.lib

5,787,216

05-Jan-2011

16:52

Public\Voip\Oak\Lib\Mipsii_fp\Debug

Msmsgs.lib

4,130,650

05-Jan-2011

16:52

Public\Voip\Oak\Lib\Mipsii_fp\Retail

Msmsgs.lib

5,845,208

05-Jan-2011

16:58

Public\Voip\Oak\Lib\Mipsiv\Debug

Msmsgs.lib

4,151,668

05-Jan-2011

16:58

Public\Voip\Oak\Lib\Mipsiv\Retail

Msmsgs.lib

5,845,574

05-Jan-2011

17:04

Public\Voip\Oak\Lib\Mipsiv_fp\Debug

Msmsgs.lib

4,152,038

05-Jan-2011

17:03

Public\Voip\Oak\Lib\Mipsiv_fp\Retail

Msmsgs.lib

5,391,604

05-Jan-2011

17:09

Public\Voip\Oak\Lib\Sh4\Debug

Msmsgs.lib

3,843,694

05-Jan-2011

17:09

Public\Voip\Oak\Lib\Sh4\Retail

Msmsgs.lib

5,015,400

05-Jan-2011

16:36

Public\Voip\Oak\Lib\X86\Debug

Msmsgs.lib

3,698,460

05-Jan-2011

16:35

Public\Voip\Oak\Lib\X86\Retail

Cplmain.lib

1,343,908

05-Jan-2011

16:45

Public\Wceshellfe\Oak\Lib\Armv4i\Debug

Transcriber.lib

1,742,594

05-Jan-2011

16:46

Public\Wceshellfe\Oak\Lib\Armv4i\Debug

Cplmain.lib

997,550

05-Jan-2011

16:44

Public\Wceshellfe\Oak\Lib\Armv4i\Retail

Transcriber.lib

1,517,984

05-Jan-2011

16:45

Public\Wceshellfe\Oak\Lib\Armv4i\Retail

Cplmain.lib

1,319,872

05-Jan-2011

16:50

Public\Wceshellfe\Oak\Lib\Mipsii\Debug

Transcriber.lib

1,694,190

05-Jan-2011

16:51

Public\Wceshellfe\Oak\Lib\Mipsii\Debug

Cplmain.lib

1,004,252

05-Jan-2011

16:50

Public\Wceshellfe\Oak\Lib\Mipsii\Retail

Transcriber.lib

1,496,434

05-Jan-2011

16:51

Public\Wceshellfe\Oak\Lib\Mipsii\Retail

Cplmain.lib

1,320,388

05-Jan-2011

16:56

Public\Wceshellfe\Oak\Lib\Mipsii_fp\Debug

Transcriber.lib

1,694,612

05-Jan-2011

16:57

Public\Wceshellfe\Oak\Lib\Mipsii_fp\Debug

Cplmain.lib

1,004,842

05-Jan-2011

16:56

Public\Wceshellfe\Oak\Lib\Mipsii_fp\Retail

Transcriber.lib

1,496,904

05-Jan-2011

16:57

Public\Wceshellfe\Oak\Lib\Mipsii_fp\Retail

Cplmain.lib

1,342,038

05-Jan-2011

17:02

Public\Wceshellfe\Oak\Lib\Mipsiv\Debug

Transcriber.lib

1,710,716

05-Jan-2011

17:03

Public\Wceshellfe\Oak\Lib\Mipsiv\Debug

Cplmain.lib

1,019,742

05-Jan-2011

17:01

Public\Wceshellfe\Oak\Lib\Mipsiv\Retail

Transcriber.lib

1,510,512

05-Jan-2011

17:02

Public\Wceshellfe\Oak\Lib\Mipsiv\Retail

Cplmain.lib

1,342,344

05-Jan-2011

17:07

Public\Wceshellfe\Oak\Lib\Mipsiv_fp\Debug

Transcriber.lib

1,711,138

05-Jan-2011

17:08

Public\Wceshellfe\Oak\Lib\Mipsiv_fp\Debug

Cplmain.lib

1,020,114

05-Jan-2011

17:07

Public\Wceshellfe\Oak\Lib\Mipsiv_fp\Retail

Transcriber.lib

1,510,982

05-Jan-2011

17:08

Public\Wceshellfe\Oak\Lib\Mipsiv_fp\Retail

Cplmain.lib

1,148,574

05-Jan-2011

17:13

Public\Wceshellfe\Oak\Lib\Sh4\Debug

Transcriber.lib

1,512,862

05-Jan-2011

17:14

Public\Wceshellfe\Oak\Lib\Sh4\Debug

Cplmain.lib

905,402

05-Jan-2011

17:13

Public\Wceshellfe\Oak\Lib\Sh4\Retail

Transcriber.lib

1,389,468

05-Jan-2011

17:14

Public\Wceshellfe\Oak\Lib\Sh4\Retail

Cplmain.lib

1,131,434

05-Jan-2011

16:39

Public\Wceshellfe\Oak\Lib\X86\Debug

Transcriber.lib

1,543,354

05-Jan-2011

16:40

Public\Wceshellfe\Oak\Lib\X86\Debug

Cplmain.lib

909,006

05-Jan-2011

16:39

Public\Wceshellfe\Oak\Lib\X86\Retail

Transcriber.lib

1,447,658

05-Jan-2011

16:40

Public\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 Description of the standard terminology that is used to describe Microsoft software updates

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×