Symptoms

Consider the following scenario:

  • You have a Windows Embedded Compact 7-based image that includes the SYSGEN_XAMLRUNTIME component on a device.

  • You run two applications on the device, and one of the applications is an XAML application. For example, you include the following components to run WordPad and the Music Player application:

    • SYSGEN_PWORD

    • SYSGEN_MUSIC_PLAYER (an XAML application)

  • You click the WordPad icon on the taskbar to set the WordPad application as the foreground window.

  • You use the Run dialog box to run an application that calls the ChangeDisplaySettingsEx() function to rotate the screen.


In this scenario, the Music Player application is unexpectedly in the foreground window. However, the taskbar icon shows that the WordPad application is in the foreground window.

Cause

This problem occurs because the XAMLRuntime module does not keep the z-order for an XAML application when the module handles screen rotation.

Resolution

Software update information

A supported software update is now available from Microsoft as Windows Embedded Compact 7 Monthly Update March 2012. 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 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.

Files that are included in this update package

File name

File size

Date

Time

Path

Xamlruntime.dll

1,380,352

07-Mar-2012

01:40

Public\Common\Oak\Target\Armv5\Checked

Xamlruntime.map

1,832,652

07-Mar-2012

01:40

Public\Common\Oak\Target\Armv5\Checked

Xamlruntime.rel

1,767,955

07-Mar-2012

01:40

Public\Common\Oak\Target\Armv5\Checked

Xamlruntimecore.dll

7,684,096

07-Mar-2012

01:40

Public\Common\Oak\Target\Armv5\Checked

Xamlruntimecore.map

4,645,404

07-Mar-2012

01:40

Public\Common\Oak\Target\Armv5\Checked

Xamlruntimecore.rel

3,052,133

07-Mar-2012

01:40

Public\Common\Oak\Target\Armv5\Checked

Xamlruntime.dll

2,244,608

07-Mar-2012

01:38

Public\Common\Oak\Target\Armv5\Debug

Xamlruntime.map

2,483,377

07-Mar-2012

01:38

Public\Common\Oak\Target\Armv5\Debug

Xamlruntime.rel

2,323,711

07-Mar-2012

01:38

Public\Common\Oak\Target\Armv5\Debug

Xamlruntimecore.dll

10,178,560

07-Mar-2012

01:38

Public\Common\Oak\Target\Armv5\Debug

Xamlruntimecore.map

5,195,108

07-Mar-2012

01:38

Public\Common\Oak\Target\Armv5\Debug

Xamlruntimecore.rel

3,071,766

07-Mar-2012

01:38

Public\Common\Oak\Target\Armv5\Debug

Xamlruntime.dll

987,136

07-Mar-2012

01:37

Public\Common\Oak\Target\Armv5\Retail

Xamlruntime.map

1,263,894

07-Mar-2012

01:37

Public\Common\Oak\Target\Armv5\Retail

Xamlruntime.rel

1,581,456

07-Mar-2012

01:37

Public\Common\Oak\Target\Armv5\Retail

Xamlruntimecore.dll

3,661,824

07-Mar-2012

01:37

Public\Common\Oak\Target\Armv5\Retail

Xamlruntimecore.map

1,619,668

07-Mar-2012

01:37

Public\Common\Oak\Target\Armv5\Retail

Xamlruntimecore.rel

2,009,090

07-Mar-2012

01:37

Public\Common\Oak\Target\Armv5\Retail

Xamlruntime.dll

1,363,968

07-Mar-2012

01:57

Public\Common\Oak\Target\Armv6\Checked

Xamlruntime.map

1,832,098

07-Mar-2012

01:57

Public\Common\Oak\Target\Armv6\Checked

Xamlruntime.rel

1,762,300

07-Mar-2012

01:57

Public\Common\Oak\Target\Armv6\Checked

Xamlruntimecore.dll

7,610,368

07-Mar-2012

01:57

Public\Common\Oak\Target\Armv6\Checked

Xamlruntimecore.map

4,652,255

07-Mar-2012

01:57

Public\Common\Oak\Target\Armv6\Checked

Xamlruntimecore.rel

3,030,470

07-Mar-2012

01:57

Public\Common\Oak\Target\Armv6\Checked

Xamlruntime.dll

2,236,416

07-Mar-2012

01:55

Public\Common\Oak\Target\Armv6\Debug

Xamlruntime.map

2,483,618

07-Mar-2012

01:55

Public\Common\Oak\Target\Armv6\Debug

Xamlruntime.rel

2,316,084

07-Mar-2012

01:55

Public\Common\Oak\Target\Armv6\Debug

Xamlruntimecore.dll

10,125,312

07-Mar-2012

01:55

Public\Common\Oak\Target\Armv6\Debug

Xamlruntimecore.map

5,201,706

07-Mar-2012

01:55

Public\Common\Oak\Target\Armv6\Debug

Xamlruntimecore.rel

3,049,407

07-Mar-2012

01:55

Public\Common\Oak\Target\Armv6\Debug

Xamlruntime.dll

974,848

07-Mar-2012

01:54

Public\Common\Oak\Target\Armv6\Retail

Xamlruntime.map

1,263,399

07-Mar-2012

01:54

Public\Common\Oak\Target\Armv6\Retail

Xamlruntime.rel

1,576,787

07-Mar-2012

01:54

Public\Common\Oak\Target\Armv6\Retail

Xamlruntimecore.dll

3,571,712

07-Mar-2012

01:54

Public\Common\Oak\Target\Armv6\Retail

Xamlruntimecore.map

1,625,717

07-Mar-2012

01:54

Public\Common\Oak\Target\Armv6\Retail

Xamlruntimecore.rel

1,990,907

07-Mar-2012

01:54

Public\Common\Oak\Target\Armv6\Retail

Xamlruntime.dll

1,359,872

07-Mar-2012

02:14

Public\Common\Oak\Target\Armv7\Checked

Xamlruntime.map

1,832,098

07-Mar-2012

02:14

Public\Common\Oak\Target\Armv7\Checked

Xamlruntime.rel

1,762,300

07-Mar-2012

02:14

Public\Common\Oak\Target\Armv7\Checked

Xamlruntimecore.dll

7,548,928

07-Mar-2012

02:14

Public\Common\Oak\Target\Armv7\Checked

Xamlruntimecore.map

4,650,833

07-Mar-2012

02:14

Public\Common\Oak\Target\Armv7\Checked

Xamlruntimecore.rel

3,030,702

07-Mar-2012

02:14

Public\Common\Oak\Target\Armv7\Checked

Xamlruntime.dll

2,232,320

07-Mar-2012

02:12

Public\Common\Oak\Target\Armv7\Debug

Xamlruntime.map

2,483,618

07-Mar-2012

02:12

Public\Common\Oak\Target\Armv7\Debug

Xamlruntime.rel

2,316,055

07-Mar-2012

02:12

Public\Common\Oak\Target\Armv7\Debug

Xamlruntimecore.dll

10,051,584

07-Mar-2012

02:12

Public\Common\Oak\Target\Armv7\Debug

Xamlruntimecore.map

5,201,706

07-Mar-2012

02:12

Public\Common\Oak\Target\Armv7\Debug

Xamlruntimecore.rel

3,048,914

07-Mar-2012

02:12

Public\Common\Oak\Target\Armv7\Debug

Xamlruntime.dll

970,752

07-Mar-2012

02:10

Public\Common\Oak\Target\Armv7\Retail

Xamlruntime.map

1,263,324

07-Mar-2012

02:10

Public\Common\Oak\Target\Armv7\Retail

Xamlruntime.rel

1,576,758

07-Mar-2012

02:10

Public\Common\Oak\Target\Armv7\Retail

Xamlruntimecore.dll

3,563,520

07-Mar-2012

02:10

Public\Common\Oak\Target\Armv7\Retail

Xamlruntimecore.map

1,624,518

07-Mar-2012

02:10

Public\Common\Oak\Target\Armv7\Retail

Xamlruntimecore.rel

1,990,994

07-Mar-2012

02:10

Public\Common\Oak\Target\Armv7\Retail

Xamlruntime.dll

1,720,320

07-Mar-2012

02:30

Public\Common\Oak\Target\Mipsii\Checked

Xamlruntime.map

1,839,363

07-Mar-2012

02:30

Public\Common\Oak\Target\Mipsii\Checked

Xamlruntime.rel

2,846,610

07-Mar-2012

02:30

Public\Common\Oak\Target\Mipsii\Checked

Xamlruntimecore.dll

8,126,464

07-Mar-2012

02:30

Public\Common\Oak\Target\Mipsii\Checked

Xamlruntimecore.map

4,693,663

07-Mar-2012

02:30

Public\Common\Oak\Target\Mipsii\Checked

Xamlruntimecore.rel

7,504,561

07-Mar-2012

02:30

Public\Common\Oak\Target\Mipsii\Checked

Xamlruntime.dll

2,527,232

07-Mar-2012

02:28

Public\Common\Oak\Target\Mipsii\Debug

Xamlruntime.map

2,461,073

07-Mar-2012

02:28

Public\Common\Oak\Target\Mipsii\Debug

Xamlruntime.rel

3,902,529

07-Mar-2012

02:28

Public\Common\Oak\Target\Mipsii\Debug

Xamlruntimecore.dll

10,833,920

07-Mar-2012

02:28

Public\Common\Oak\Target\Mipsii\Debug

Xamlruntimecore.map

5,197,885

07-Mar-2012

02:28

Public\Common\Oak\Target\Mipsii\Debug

Xamlruntimecore.rel

10,289,431

07-Mar-2012

02:28

Public\Common\Oak\Target\Mipsii\Debug

Xamlruntime.dll

1,236,992

07-Mar-2012

02:26

Public\Common\Oak\Target\Mipsii\Retail

Xamlruntime.map

1,434,992

07-Mar-2012

02:26

Public\Common\Oak\Target\Mipsii\Retail

Xamlruntime.rel

2,320,753

07-Mar-2012

02:26

Public\Common\Oak\Target\Mipsii\Retail

Xamlruntimecore.dll

4,247,552

07-Mar-2012

02:26

Public\Common\Oak\Target\Mipsii\Retail

Xamlruntimecore.map

1,639,663

07-Mar-2012

02:26

Public\Common\Oak\Target\Mipsii\Retail

Xamlruntimecore.rel

3,480,782

07-Mar-2012

02:26

Public\Common\Oak\Target\Mipsii\Retail

Xamlruntime.dll

1,712,128

07-Mar-2012

02:46

Public\Common\Oak\Target\Mipsii_fp\Checked

Xamlruntime.map

1,837,756

07-Mar-2012

02:46

Public\Common\Oak\Target\Mipsii_fp\Checked

Xamlruntime.rel

2,818,190

07-Mar-2012

02:46

Public\Common\Oak\Target\Mipsii_fp\Checked

X amlruntimecore.dll

8,085,504

07-Mar-2012

02:45

Public\Common\Oak\Target\Mipsii_fp\Checked

Xamlruntimecore.map

4,698,138

07-Mar-2012

02:45

Public\Common\Oak\Target\Mipsii_fp\Checked

Xamlruntimecore.rel

7,379,049

07-Mar-2012

02:45

Public\Common\Oak\Target\Mipsii_fp\Checked

Xamlruntime.dll

2,523,136

07-Mar-2012

02:44

Public\Common\Oak\Target\Mipsii_fp\Debug

Xamlruntime.map

2,459,150

07-Mar-2012

02:44

Public\Common\Oak\Target\Mipsii_fp\Debug

Xamlruntime.rel

3,876,081

07-Mar-2012

02:44

Public\Common\Oak\Target\Mipsii_fp\Debug

Xamlruntimecore.dll

10,821,632

07-Mar-2012

02:44

Public\Common\Oak\Target\Mipsii_fp\Debug

Xamlruntimecore.map

5,202,567

07-Mar-2012

02:44

Public\Common\Oak\Target\Mipsii_fp\Debug

Xamlruntimecore.rel

10,214,176

07-Mar-2012

02:44

Public\Common\Oak\Target\Mipsii_fp\Debug

Xamlruntime.dll

1,236,992

07-Mar-2012

02:42

Public\Common\Oak\Target\Mipsii_fp\Retail

Xamlruntime.map

1,433,565

07-Mar-2012

02:42

Public\Common\Oak\Target\Mipsii_fp\Retail

Xamlruntime.rel

2,299,902

07-Mar-2012

02:42

Public\Common\Oak\Target\Mipsii_fp\Retail

Xamlruntimecore.dll

4,198,400

07-Mar-2012

02:42

Public\Common\Oak\Target\Mipsii_fp\Retail

Xamlruntimecore.map

1,643,612

07-Mar-2012

02:42

Public\Common\Oak\Target\Mipsii_fp\Retail

Xamlruntimecore.rel

3,356,227

07-Mar-2012

02:42

Public\Common\Oak\Target\Mipsii_fp\Retail

Xamlruntime.dll

1,273,856

07-Mar-2012

03:01

Public\Common\Oak\Target\Sh4\Checked

Xamlruntime.map

1,802,325

07-Mar-2012

03:01

Public\Common\Oak\Target\Sh4\Checked

Xamlruntime.rel

2,184,975

07-Mar-2012

03:01

Public\Common\Oak\Target\Sh4\Checked

Xamlruntimecore.dll

6,455,296

07-Mar-2012

03:01

Public\Common\Oak\Target\Sh4\Checked

Xamlruntimecore.map

4,649,647

07-Mar-2012

03:01

Public\Common\Oak\Target\Sh4\Checked

Xamlruntimecore.rel

3,745,900

07-Mar-2012

03:01

Public\Common\Oak\Target\Sh4\Checked

Xamlruntime.dll

2,023,424

07-Mar-2012

02:59

Public\Common\Oak\Target\Sh4\Debug

Xamlruntime.map

2,460,242

07-Mar-2012

02:59

Public\Common\Oak\Target\Sh4\Debug

Xamlruntime.rel

2,926,041

07-Mar-2012

02:59

Public\Common\Oak\Target\Sh4\Debug

Xamlruntimecore.dll

8,359,936

07-Mar-2012

02:59

Public\Common\Oak\Target\Sh4\Debug

Xamlruntimecore.map

5,193,605

07-Mar-2012

02:59

Public\Common\Oak\Target\Sh4\Debug

Xamlruntimecore.rel

4,409,449

07-Mar-2012

02:59

Public\Common\Oak\Target\Sh4\Debug

Xamlruntime.dll

925,696

07-Mar-2012

02:58

Public\Common\Oak\Target\Sh4\Retail

Xamlruntime.map

1,424,891

07-Mar-2012

02:58

Public\Common\Oak\Target\Sh4\Retail

Xamlruntime.rel

1,954,106

07-Mar-2012

02:58

Public\Common\Oak\Target\Sh4\Retail

Xamlruntimecore.dll

3,219,456

07-Mar-2012

02:58

Public\Common\Oak\Target\Sh4\Retail

Xamlruntimecore.map

1,632,479

07-Mar-2012

02:58

Public\Common\Oak\Target\Sh4\Retail

Xamlruntimecore.rel

2,366,747

07-Mar-2012

02:58

Public\Common\Oak\Target\Sh4\Retail

Xamlruntime.dll

1,069,056

07-Mar-2012

03:15

Public\Common\Oak\Target\X86\Checked

Xamlruntime.map

1,786,499

07-Mar-2012

03:15

Public\Common\Oak\Target\X86\Checked

Xamlruntime.rel

1,730,023

07-Mar-2012

03:15

Public\Common\Oak\Target\X86\Checked

Xamlruntimecore.dll

5,410,816

07-Mar-2012

03:15

Public\Common\Oak\Target\X86\Checked

Xamlruntimecore.map

4,845,752

07-Mar-2012

03:15

Public\Common\Oak\Target\X86\Checked

Xamlruntimecore.rel

3,021,219

07-Mar-2012

03:15

Public\Common\Oak\Target\X86\Checked

Xamlruntime.dll

1,609,728

07-Mar-2012

03:14

Public\Common\Oak\Target\X86\Debug

Xamlruntime.map

2,281,042

07-Mar-2012

03:14

Public\Common\Oak\Target\X86\Debug

Xamlruntime.rel

2,139,329

07-Mar-2012

03:14

Public\Common\Oak\Target\X86\Debug

Xamlruntimecore.dll

7,286,784

07-Mar-2012

03:14

Public\Common\Oak\Target\X86\Debug

Xamlruntimecore.map

5,204,554

07-Mar-2012

03:14

Public\Common\Oak\Target\X86\Debug

Xamlruntimecore.rel

4,015,716

07-Mar-2012

03:14

Public\Common\Oak\Target\X86\Debug

Xamlruntime.dll

782,336

07-Mar-2012

03:12

Public\Common\Oak\Target\X86\Retail

Xamlruntime.map

1,428,026

07-Mar-2012

03:12

Public\Common\Oak\Target\X86\Retail

Xamlruntime.rel

1,625,014

07-Mar-2012

03:12

Public\Common\Oak\Target\X86\Retail

Xamlruntimecore.dll

2,850,816

07-Mar-2012

03:12

Public\Common\Oak\Target\X86\Retail

Xamlruntimecore.map

1,794,119

07-Mar-2012

03:12

Public\Common\Oak\Target\X86\Retail

Xamlruntimecore.rel

1,876,154

07-Mar-2012

03:12

Public\Common\Oak\Target\X86\Retail

References

For more information about the ChangeDisplaySettingsEx function, visit the following Microsoft Developer Network (MSDN) website:

ChangeDisplaySettingsEx (Windows Embedded Compact 7)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?

What affected your experience?

Thank you for your feedback!

×