Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Compile errors when the flashmddcommon.h file is included in a .c file for a Windows Embedded Compact 7 image


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You develop a Windows Embedded Compact 7 image that includes the Flash model device driver (MDD) layer catalog item.
  • The flashmddcommon.h file is included in a .c file in the following directory:
    \public\common\oak\inc
In this scenario, when you compile the project that contains the .c file, you receive error messages that resemble the following:
BUILD: [01:0000000068:ERRORE] os_design_drive_directory\public\common\oak\inc\flashmddcommon.h(158) : error C2057: expected constant expression


BUILD: [01:0000000069:ERRORE] os_design_drive_directory\public\common\oak\inc\flashmddcommon.h(161) : error C2229: struct '__FLASH_PARTITION_CREATE_INFO' has an illegal zero-sized array


BUILD: [01:0000000070:ERRORE] os_design_drive_directory\public\common\oak\inc\flashmddcommon.h(190) : error C2059: syntax error : 'type'


BUILD: [01:0000000072:ERRORE] os_design_drive_directory\public\common\oak\inc\flashmddcommon.h(205) : error C2057: expected constant expression


BUILD: [01:0000000074:ERRORE] os_design_drive_directory\public\common\oak\inc\flashmddcommon.h(208) : error C2229: struct '__FLASH_PARTITION_INFO' has an illegal zero-sized array

↑ Back to the top


Resolution

Software update information

A supported software update is now available from Microsoft as "Windows Embedded Compact 7 Monthly Update October 2011." In the "File information" section, the package file name contains the processor type.

Note This Windows Embedded Compact 7 Monthly Update is available for download from the following Microsoft Download Center website:

Prerequisites

This update is supported only if all previously issued updates for this product are also 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.


Files that are included in this update package
File nameFile sizeDateTimePath
Flashmddcommon.h9,84419-Oct-201118:56Public\Common\Oak\Inc
Flashmdd.dll147,45619-Oct-201118:49Public\Common\Oak\Target\Armv5\Checked
Flashpart.dll32,76819-Oct-201118:49Public\Common\Oak\Target\Armv5\Checked
Flashmdd.dll229,37619-Oct-201118:48Public\Common\Oak\Target\Armv5\Debug
Flashpart.dll45,05619-Oct-201118:48Public\Common\Oak\Target\Armv5\Debug
Flashmdd.dll90,11219-Oct-201118:48Public\Common\Oak\Target\Armv5\Retail
Flashpart.dll28,67219-Oct-201118:48Public\Common\Oak\Target\Armv5\Retail
Flashmdd.dll147,45619-Oct-201118:50Public\Common\Oak\Target\Armv6\Checked
Flashpart.dll32,76819-Oct-201118:50Public\Common\Oak\Target\Armv6\Checked
Flashmdd.dll229,37619-Oct-201118:50Public\Common\Oak\Target\Armv6\Debug
Flashpart.dll45,05619-Oct-201118:50Public\Common\Oak\Target\Armv6\Debug
Flashmdd.dll90,11219-Oct-201118:50Public\Common\Oak\Target\Armv6\Retail
Flashpart.dll28,67219-Oct-201118:50Public\Common\Oak\Target\Armv6\Retail
Flashmdd.dll147,45619-Oct-201118:51Public\Common\Oak\Target\Armv7\Checked
Flashpart.dll32,76819-Oct-201118:51Public\Common\Oak\Target\Armv7\Checked
Flashmdd.dll229,37619-Oct-201118:51Public\Common\Oak\Target\Armv7\Debug
Flashpart.dll45,05619-Oct-201118:51Public\Common\Oak\Target\Armv7\Debug
Flashmdd.dll90,11219-Oct-201118:51Public\Common\Oak\Target\Armv7\Retail
Flashpart.dll28,67219-Oct-201118:51Public\Common\Oak\Target\Armv7\Retail
Flashmdd.dll184,32019-Oct-201118:52Public\Common\Oak\Target\Mipsii\Checked
Flashpart.dll36,86419-Oct-201118:52Public\Common\Oak\Target\Mipsii\Checked
Flashmdd.dll258,04819-Oct-201118:52Public\Common\Oak\Target\Mipsii\Debug
Flashpart.dll45,05619-Oct-201118:52Public\Common\Oak\Target\Mipsii\Debug
Flashmdd.dll114,68819-Oct-201118:52Public\Common\Oak\Target\Mipsii\Retail
Flashpart.dll32,76819-Oct-201118:52Public\Common\Oak\Target\Mipsii\Retail
Flashmdd.dll184,32019-Oct-201118:53Public\Common\Oak\Target\Mipsii_fp\Checked
Flashpart.dll36,86419-Oct-201118:53Public\Common\Oak\Target\Mipsii_fp\Checked
Flashmdd.dll258,04819-Oct-201118:53Public\Common\Oak\Target\Mipsii_fp\Debug
Flashpart.dll45,05619-Oct-201118:53Public\Common\Oak\Target\Mipsii_fp\Debug
Flashmdd.dll114,68819-Oct-201118:53Public\Common\Oak\Target\Mipsii_fp\Retail
Flashpart.dll32,76819-Oct-201118:53Public\Common\Oak\Target\Mipsii_fp\Retail
Flashmdd.dll139,26419-Oct-201118:55Public\Common\Oak\Target\Sh4\Checked
Flashpart.dll32,76819-Oct-201118:55Public\Common\Oak\Target\Sh4\Checked
Flashmdd.dll192,51219-Oct-201118:55Public\Common\Oak\Target\Sh4\Debug
Flashpart.dll40,96019-Oct-201118:55Public\Common\Oak\Target\Sh4\Debug
Flashmdd.dll81,92019-Oct-201118:54Public\Common\Oak\Target\Sh4\Retail
Flashpart.dll28,67219-Oct-201118:54Public\Common\Oak\Target\Sh4\Retail
Flashmdd.dll118,78419-Oct-201118:56Public\Common\Oak\Target\X86\Checked
Flashpart.dll28,67219-Oct-201118:56Public\Common\Oak\Target\X86\Checked
Flashmdd.dll172,03219-Oct-201118:56Public\Common\Oak\Target\X86\Debug
Flashpart.dll32,76819-Oct-201118:56Public\Common\Oak\Target\X86\Debug
Flashmdd.dll69,63219-Oct-201118:56Public\Common\Oak\Target\X86\Retail
Flashpart.dll20,48019-Oct-201118:56Public\Common\Oak\Target\X 86\Retail
Flashmdd.exp1,55219-Oct-201118:49Public\Common\Oak\Lib\Armv5\Checked
Flashmdd.lib2,78619-Oct-201118:49Public\Common\Oak\Lib\Armv5\Checked
Flashmddcore.lib1,025,88819-Oct-201118:49Public\Common\Oak\Lib\Armv5\Checked
Flashpart.exp3,18119-Oct-201118:49Public\Common\Oak\Lib\Armv5\Checked
Flashpart.lib5,63819-Oct-201118:49Public\Common\Oak\Lib\Armv5\Checked
Flashmdd.exp1,55219-Oct-201118:48Public\Common\Oak\Lib\Armv5\Debug
Flashmdd.lib2,78619-Oct-201118:48Public\Common\Oak\Lib\Armv5\Debug
Flashmddcore.lib1,169,30419-Oct-201118:48Public\Common\Oak\Lib\Armv5\Debug
Flashpart.exp3,18119-Oct-201118:48Public\Common\Oak\Lib\Armv5\Debug
Flashpart.lib5,63819-Oct-201118:48Public\Common\Oak\Lib\Armv5\Debug
Flashmdd.exp1,55219-Oct-201118:48Public\Common\Oak\Lib\Armv5\Retail
Flashmdd.lib2,78619-Oct-201118:48Public\Common\Oak\Lib\Armv5\Retail
Flashmddcore.lib868,43619-Oct-201118:48Public\Common\Oak\Lib\Armv5\Retail
Flashpart.exp3,18119-Oct-201118:48Public\Common\Oak\Lib\Armv5\Retail
Flashpart.lib5,63819-Oct-201118:48Public\Common\Oak\Lib\Armv5\Retail
Flashmdd.exp1,55219-Oct-201118:50Public\Common\Oak\Lib\Armv6\Checked
Flashmdd.lib2,78619-Oct-201118:50Public\Common\Oak\Lib\Armv6\Checked
Flashmddcore.lib1,025,99219-Oct-201118:50Public\Common\Oak\Lib\Armv6\Checked
Flashpart.exp3,18119-Oct-201118:50Public\Common\Oak\Lib\Armv6\Checked
Flashpart.lib5,63819-Oct-201118:50Public\Common\Oak\Lib\Armv6\Checked
Flashmdd.exp1,55219-Oct-201118:50Public\Common\Oak\Lib\Armv6\Debug
Flashmdd.lib2,78619-Oct-201118:50Public\Common\Oak\Lib\Armv6\Debug
Flashmddcore.lib1,169,34019-Oct-201118:50Public\Common\Oak\Lib\Armv6\Debug
Flashpart.exp3,18119-Oct-201118:50Public\Common\Oak\Lib\Armv6\Debug
Flashpart.lib5,63819-Oct-201118:50Public\Common\Oak\Lib\Armv6\Debug
Flashmdd.exp1,55219-Oct-201118:50Public\Common\Oak\Lib\Armv6\Retail
Flashmdd.lib2,78619-Oct-201118:50Public\Common\Oak\Lib\Armv6\Retail
Flashmddcore.lib868,53619-Oct-201118:50Public\Common\Oak\Lib\Armv6\Retail
Flashpart.exp3,18119-Oct-201118:50Public\Common\Oak\Lib\Armv6\Retail
Flashpart.lib5,63819-Oct-201118:50Public\Common\Oak\Lib\Armv6\Retail
Flashmdd.exp1,55219-Oct-201118:51Public\Common\Oak\Lib\Armv7\Checked
Flashmdd.lib2,78619-Oct-201118:51Public\Common\Oak\Lib\Armv7\Checked
Flashmddcore.lib1,024,69419-Oct-201118:51Public\Common\Oak\Lib\Armv7\Checked
Flashpart.exp3,18119-Oct-201118:51Public\Common\Oak\Lib\Armv7\Checked
Flashpart.lib5,63819-Oct-201118:51Public\Common\Oak\Lib\Armv7\Checked
Flashmdd.exp1,55219-Oct-201118:51Public\Common\Oak\Lib\Armv7\Debug
Flashmdd.lib2,78619-Oct-201118:51Public\Common\Oak\Lib\Armv7\Debug
Flashmddcore.lib1,168,08619-Oct-201118:51Public\Common\Oak\Lib\Armv7\Debug
Flashpart.exp3,18119-Oct-201118:51Public\Common\Oak\Lib\Armv7\Debug
Flashpart.lib5,63819-Oct-201118:51Public\Common\Oak\Lib\Armv7\Debug
Flashmdd.exp1,55219-Oct-201118:51Public\Common\Oak\Lib\Armv7\Retail
Flashmdd.lib2,78619-Oct-201118:51Public\Common\Oak\Lib\Armv7\Retail
Flashmddcore.lib867,30819-Oct-201118:51Public\Common\Oak\Lib\Armv7\Retail
Flashpart.exp3,18119-Oct-201118:51Public\Common\Oak\Lib\Armv7\Retail
Flashpart.lib5,63819-Oct-201118:51Public\Common\Oak\Lib\Armv7\Retail
Flashmdd.exp1,55219-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Checked
Flashmdd.lib2,78619-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Checked
Flashmddcore.lib987,22819-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Checked
Flashpart.exp3,18119-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Checked
Flashpart.lib5,63819-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Checked
Flashmdd.exp1,55219-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Debug
Flashmdd.lib2,78619-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Debug
Flashmddcore.lib1,136,11819-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Debug
Flashpart.exp3,18119-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Debug
Flashpart.lib5,63819-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Debug
Flashmdd.exp1,55219-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Retail
Flashmdd.lib2,78619-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Retail
Flashmddcore.lib830,89419-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Retail
Flashpart.exp3,18119-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Retail
Flashpart.lib5,63819-Oct-201118:52Public\Common\Oak\Lib\Mipsii\Retail
Flashmdd.exp1,55219-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Checked
Flashmdd.lib2,78619-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Checked
Flashmddcore.lib987,96619-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Checked
Flashpart.exp3,18119-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Checked
Flashpart.lib5,63819-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Checked
Flashmdd.exp1,55219-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Debug
Flashmdd.lib2,78619-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Debug
Flashmddcore.lib1,136,85619-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Debug
Flashpart.exp3,18119-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Debug
Flashpart.lib5,63819-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Debug
Flashmdd.exp1,55219-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Retail
Flashmdd.lib2,78619-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Retail
Flashmddcore.lib831,58419-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Retail
Flashpart.exp3,18119-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Retail
Flashpart.lib5,63819-Oct-201118:53Public\Common\Oak\Lib\Mipsii_fp\Retail
Flashmdd.exp1,56319-Oct-201118:55Public\Common\Oak\Lib\Sh4\Checked
Flashmdd.lib2,82019-Oct-201118:55Public\Common\Oak\Lib\Sh4\Checked
Flashmddcore.lib917,21219-Oct-201118:55Public\Common\Oak\Lib\Sh4\Checked
Flashpart.exp3,22019-Oct-201118:55Public\Common\Oak\Lib\Sh4\Checked
Flashpart.lib5,73219-Oct-201118:55Public\Common\Oak\Lib\Sh4\Checked
Flashmdd.exp1,56319-Oct-201118:55Public\Common\Oak\Lib\Sh4\Debug
Flashmdd.lib2,82019-Oct-201118:55Public\Common\Oak\Lib\Sh4\Debug
Flashmddcore.lib1,036,60419-Oct-201118:55Publi c\Common\Oak\Lib\Sh4\Debug
Flashpart.exp3,22019-Oct-201118:55Public\Common\Oak\Lib\Sh4\Debug
Flashpart.lib5,73219-Oct-201118:55Public\Common\Oak\Lib\Sh4\Debug
Flashmdd.exp1,56319-Oct-201118:54Public\Common\Oak\Lib\Sh4\Retail
Flashmdd.lib2,82019-Oct-201118:54Public\Common\Oak\Lib\Sh4\Retail
Flashmddcore.lib782,11419-Oct-201118:54Public\Common\Oak\Lib\Sh4\Retail
Flashpart.exp3,22019-Oct-201118:54Public\Common\Oak\Lib\Sh4\Retail
Flashpart.lib5,73219-Oct-201118:54Public\Common\Oak\Lib\Sh4\Retail
Flashmdd.exp1,56319-Oct-201118:56Public\Common\Oak\Lib\X86\Checked
Flashmdd.lib2,82019-Oct-201118:56Public\Common\Oak\Lib\X86\Checked
Flashmddcore.lib905,22019-Oct-201118:56Public\Common\Oak\Lib\X86\Checked
Flashpart.exp3,22019-Oct-201118:56Public\Common\Oak\Lib\X86\Checked
Flashpart.lib5,73219-Oct-201118:56Public\Common\Oak\Lib\X86\Checked
Flashmdd.exp1,56319-Oct-201118:56Public\Common\Oak\Lib\X86\Debug
Flashmdd.lib2,82019-Oct-201118:56Public\Common\Oak\Lib\X86\Debug
Flashmddcore.lib958,46419-Oct-201118:56Public\Common\Oak\Lib\X86\Debug
Flashpart.exp3,22019-Oct-201118:56Public\Common\Oak\Lib\X86\Debug
Flashpart.lib5,73219-Oct-201118:56Public\Common\Oak\Lib\X86\Debug
Flashmdd.exp1,56319-Oct-201118:56Public\Common\Oak\Lib\X86\Retail
Flashmdd.lib2,82019-Oct-201118:56Public\Common\Oak\Lib\X86\Retail
Flashmddcore.lib752,41819-Oct-201118:56Public\Common\Oak\Lib\X86\Retail
Flashpart.exp3,22019-Oct-201118:56Public\Common\Oak\Lib\X86\Retail
Flashpart.lib5,73219-Oct-201118:56Public\Common\Oak\Lib\X86\Retail

↑ Back to the top


References

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

↑ Back to the top


Keywords: kbnotautohotfix, kbfix, kbqfe, kbpubtypekc, kbexpertiseinter, kb

↑ Back to the top

Article Info
Article ID : 2600014
Revision : 1
Created on : 1/7/2017
Published on : 11/10/2011
Exists online : False
Views : 222