Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

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

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:

Windows Embedded Compact 7 Updates

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 name

File size

Date

Time

Path

Flashmddcommon.h

9,844

19-Oct-2011

18:56

Public\Common\Oak\Inc

Flashmdd.dll

147,456

19-Oct-2011

18:49

Public\Common\Oak\Target\Armv5\Checked

Flashpart.dll

32,768

19-Oct-2011

18:49

Public\Common\Oak\Target\Armv5\Checked

Flashmdd.dll

229,376

19-Oct-2011

18:48

Public\Common\Oak\Target\Armv5\Debug

Flashpart.dll

45,056

19-Oct-2011

18:48

Public\Common\Oak\Target\Armv5\Debug

Flashmdd.dll

90,112

19-Oct-2011

18:48

Public\Common\Oak\Target\Armv5\Retail

Flashpart.dll

28,672

19-Oct-2011

18:48

Public\Common\Oak\Target\Armv5\Retail

Flashmdd.dll

147,456

19-Oct-2011

18:50

Public\Common\Oak\Target\Armv6\Checked

Flashpart.dll

32,768

19-Oct-2011

18:50

Public\Common\Oak\Target\Armv6\Checked

Flashmdd.dll

229,376

19-Oct-2011

18:50

Public\Common\Oak\Target\Armv6\Debug

Flashpart.dll

45,056

19-Oct-2011

18:50

Public\Common\Oak\Target\Armv6\Debug

Flashmdd.dll

90,112

19-Oct-2011

18:50

Public\Common\Oak\Target\Armv6\Retail

Flashpart.dll

28,672

19-Oct-2011

18:50

Public\Common\Oak\Target\Armv6\Retail

Flashmdd.dll

147,456

19-Oct-2011

18:51

Public\Common\Oak\Target\Armv7\Checked

Flashpart.dll

32,768

19-Oct-2011

18:51

Public\Common\Oak\Target\Armv7\Checked

Flashmdd.dll

229,376

19-Oct-2011

18:51

Public\Common\Oak\Target\Armv7\Debug

Flashpart.dll

45,056

19-Oct-2011

18:51

Public\Common\Oak\Target\Armv7\Debug

Flashmdd.dll

90,112

19-Oct-2011

18:51

Public\Common\Oak\Target\Armv7\Retail

Flashpart.dll

28,672

19-Oct-2011

18:51

Public\Common\Oak\Target\Armv7\Retail

Flashmdd.dll

184,320

19-Oct-2011

18:52

Public\Common\Oak\Target\Mipsii\Checked

Flashpart.dll

36,864

19-Oct-2011

18:52

Public\Common\Oak\Target\Mipsii\Checked

Flashmdd.dll

258,048

19-Oct-2011

18:52

Public\Common\Oak\Target\Mipsii\Debug

Flashpart.dll

45,056

19-Oct-2011

18:52

Public\Common\Oak\Target\Mipsii\Debug

Flashmdd.dll

114,688

19-Oct-2011

18:52

Public\Common\Oak\Target\Mipsii\Retail

Flashpart.dll

32,768

19-Oct-2011

18:52

Public\Common\Oak\Target\Mipsii\Retail

Flashmdd.dll

184,320

19-Oct-2011

18:53

Public\Common\Oak\Target\Mipsii_fp\Checked

Flashpart.dll

36,864

19-Oct-2011

18:53

Public\Common\Oak\Target\Mipsii_fp\Checked

Flashmdd.dll

258,048

19-Oct-2011

18:53

Public\Common\Oak\Target\Mipsii_fp\Debug

Flashpart.dll

45,056

19-Oct-2011

18:53

Public\Common\Oak\Target\Mipsii_fp\Debug

Flashmdd.dll

114,688

19-Oct-2011

18:53

Public\Common\Oak\Target\Mipsii_fp\Retail

Flashpart.dll

32,768

19-Oct-2011

18:53

Public\Common\Oak\Target\Mipsii_fp\Retail

Flashmdd.dll

139,264

19-Oct-2011

18:55

Public\Common\Oak\Target\Sh4\Checked

Flashpart.dll

32,768

19-Oct-2011

18:55

Public\Common\Oak\Target\Sh4\Checked

Flashmdd.dll

192,512

19-Oct-2011

18:55

Public\Common\Oak\Target\Sh4\Debug

Flashpart.dll

40,960

19-Oct-2011

18:55

Public\Common\Oak\Target\Sh4\Debug

Flashmdd.dll

81,920

19-Oct-2011

18:54

Public\Common\Oak\Target\Sh4\Retail

Flashpart.dll

28,672

19-Oct-2011

18:54

Public\Common\Oak\Target\Sh4\Retail

Flashmdd.dll

118,784

19-Oct-2011

18:56

Public\Common\Oak\Target\X86\Checked

Flashpart.dll

28,672

19-Oct-2011

18:56

Public\Common\Oak\Target\X86\Checked

Flashmdd.dll

172,032

19-Oct-2011

18:56

Public\Common\Oak\Target\X86\Debug

Flashpart.dll

32,768

19-Oct-2011

18:56

Public\Common\Oak\Target\X86\Debug

Flashmdd.dll

69,632

19-Oct-2011

18:56

Public\Common\Oak\Target\X86\Retail

Flashpart.dll

20,480

19-Oct-2011

18:56

Public\Common\Oak\Target\X 86\Retail

Flashmdd.exp

1,552

19-Oct-2011

18:49

Public\Common\Oak\Lib\Armv5\Checked

Flashmdd.lib

2,786

19-Oct-2011

18:49

Public\Common\Oak\Lib\Armv5\Checked

Flashmddcore.lib

1,025,888

19-Oct-2011

18:49

Public\Common\Oak\Lib\Armv5\Checked

Flashpart.exp

3,181

19-Oct-2011

18:49

Public\Common\Oak\Lib\Armv5\Checked

Flashpart.lib

5,638

19-Oct-2011

18:49

Public\Common\Oak\Lib\Armv5\Checked

Flashmdd.exp

1,552

19-Oct-2011

18:48

Public\Common\Oak\Lib\Armv5\Debug

Flashmdd.lib

2,786

19-Oct-2011

18:48

Public\Common\Oak\Lib\Armv5\Debug

Flashmddcore.lib

1,169,304

19-Oct-2011

18:48

Public\Common\Oak\Lib\Armv5\Debug

Flashpart.exp

3,181

19-Oct-2011

18:48

Public\Common\Oak\Lib\Armv5\Debug

Flashpart.lib

5,638

19-Oct-2011

18:48

Public\Common\Oak\Lib\Armv5\Debug

Flashmdd.exp

1,552

19-Oct-2011

18:48

Public\Common\Oak\Lib\Armv5\Retail

Flashmdd.lib

2,786

19-Oct-2011

18:48

Public\Common\Oak\Lib\Armv5\Retail

Flashmddcore.lib

868,436

19-Oct-2011

18:48

Public\Common\Oak\Lib\Armv5\Retail

Flashpart.exp

3,181

19-Oct-2011

18:48

Public\Common\Oak\Lib\Armv5\Retail

Flashpart.lib

5,638

19-Oct-2011

18:48

Public\Common\Oak\Lib\Armv5\Retail

Flashmdd.exp

1,552

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Checked

Flashmdd.lib

2,786

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Checked

Flashmddcore.lib

1,025,992

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Checked

Flashpart.exp

3,181

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Checked

Flashpart.lib

5,638

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Checked

Flashmdd.exp

1,552

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Debug

Flashmdd.lib

2,786

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Debug

Flashmddcore.lib

1,169,340

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Debug

Flashpart.exp

3,181

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Debug

Flashpart.lib

5,638

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Debug

Flashmdd.exp

1,552

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Retail

Flashmdd.lib

2,786

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Retail

Flashmddcore.lib

868,536

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Retail

Flashpart.exp

3,181

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Retail

Flashpart.lib

5,638

19-Oct-2011

18:50

Public\Common\Oak\Lib\Armv6\Retail

Flashmdd.exp

1,552

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Checked

Flashmdd.lib

2,786

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Checked

Flashmddcore.lib

1,024,694

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Checked

Flashpart.exp

3,181

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Checked

Flashpart.lib

5,638

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Checked

Flashmdd.exp

1,552

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Debug

Flashmdd.lib

2,786

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Debug

Flashmddcore.lib

1,168,086

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Debug

Flashpart.exp

3,181

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Debug

Flashpart.lib

5,638

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Debug

Flashmdd.exp

1,552

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Retail

Flashmdd.lib

2,786

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Retail

Flashmddcore.lib

867,308

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Retail

Flashpart.exp

3,181

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Retail

Flashpart.lib

5,638

19-Oct-2011

18:51

Public\Common\Oak\Lib\Armv7\Retail

Flashmdd.exp

1,552

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Checked

Flashmdd.lib

2,786

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Checked

Flashmddcore.lib

987,228

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Checked

Flashpart.exp

3,181

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Checked

Flashpart.lib

5,638

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Checked

Flashmdd.exp

1,552

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Debug

Flashmdd.lib

2,786

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Debug

Flashmddcore.lib

1,136,118

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Debug

Flashpart.exp

3,181

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Debug

Flashpart.lib

5,638

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Debug

Flashmdd.exp

1,552

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Retail

Flashmdd.lib

2,786

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Retail

Flashmddcore.lib

830,894

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Retail

Flashpart.exp

3,181

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Retail

Flashpart.lib

5,638

19-Oct-2011

18:52

Public\Common\Oak\Lib\Mipsii\Retail

Flashmdd.exp

1,552

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Checked

Flashmdd.lib

2,786

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Checked

Flashmddcore.lib

987,966

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Checked

Flashpart.exp

3,181

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Checked

Flashpart.lib

5,638

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Checked

Flashmdd.exp

1,552

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Debug

Flashmdd.lib

2,786

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Debug

Flashmddcore.lib

1,136,856

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Debug

Flashpart.exp

3,181

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Debug

Flashpart.lib

5,638

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Debug

Flashmdd.exp

1,552

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Retail

Flashmdd.lib

2,786

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Retail

Flashmddcore.lib

831,584

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Retail

Flashpart.exp

3,181

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Retail

Flashpart.lib

5,638

19-Oct-2011

18:53

Public\Common\Oak\Lib\Mipsii_fp\Retail

Flashmdd.exp

1,563

19-Oct-2011

18:55

Public\Common\Oak\Lib\Sh4\Checked

Flashmdd.lib

2,820

19-Oct-2011

18:55

Public\Common\Oak\Lib\Sh4\Checked

Flashmddcore.lib

917,212

19-Oct-2011

18:55

Public\Common\Oak\Lib\Sh4\Checked

Flashpart.exp

3,220

19-Oct-2011

18:55

Public\Common\Oak\Lib\Sh4\Checked

Flashpart.lib

5,732

19-Oct-2011

18:55

Public\Common\Oak\Lib\Sh4\Checked

Flashmdd.exp

1,563

19-Oct-2011

18:55

Public\Common\Oak\Lib\Sh4\Debug

Flashmdd.lib

2,820

19-Oct-2011

18:55

Public\Common\Oak\Lib\Sh4\Debug

Flashmddcore.lib

1,036,604

19-Oct-2011

18:55

Publi c\Common\Oak\Lib\Sh4\Debug

Flashpart.exp

3,220

19-Oct-2011

18:55

Public\Common\Oak\Lib\Sh4\Debug

Flashpart.lib

5,732

19-Oct-2011

18:55

Public\Common\Oak\Lib\Sh4\Debug

Flashmdd.exp

1,563

19-Oct-2011

18:54

Public\Common\Oak\Lib\Sh4\Retail

Flashmdd.lib

2,820

19-Oct-2011

18:54

Public\Common\Oak\Lib\Sh4\Retail

Flashmddcore.lib

782,114

19-Oct-2011

18:54

Public\Common\Oak\Lib\Sh4\Retail

Flashpart.exp

3,220

19-Oct-2011

18:54

Public\Common\Oak\Lib\Sh4\Retail

Flashpart.lib

5,732

19-Oct-2011

18:54

Public\Common\Oak\Lib\Sh4\Retail

Flashmdd.exp

1,563

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Checked

Flashmdd.lib

2,820

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Checked

Flashmddcore.lib

905,220

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Checked

Flashpart.exp

3,220

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Checked

Flashpart.lib

5,732

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Checked

Flashmdd.exp

1,563

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Debug

Flashmdd.lib

2,820

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Debug

Flashmddcore.lib

958,464

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Debug

Flashpart.exp

3,220

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Debug

Flashpart.lib

5,732

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Debug

Flashmdd.exp

1,563

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Retail

Flashmdd.lib

2,820

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Retail

Flashmddcore.lib

752,418

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Retail

Flashpart.exp

3,220

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Retail

Flashpart.lib

5,732

19-Oct-2011

18:56

Public\Common\Oak\Lib\X86\Retail

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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×