Applies ToWindows Embedded Compact 7

Introduction

This article describes an issue in which the "DllMain" DLL entry is not called when the project is loaded through the LoadLibrary function in Windows Embedded Compact 7. An update is available to resolve this issue. Before you install this update, all previously issued updates for this product must be installed.

Symptoms

You create a Virtual CEPC x86 project or some other reference device project by using the software development kit (SDK). You put the project on a Windows Embedded Compact 7 device, and then create a DLL project. When the DLL project is loaded through the LoadLibrary function, the "DllMain" DLL entry is not called. This is because the file is loaded as a data file and not as a executable file.Note This issue does not occur if the DLL project is built as an operating system subproject.

Resolution

Software update information

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

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

Loader.c

195,546

15-Dec-2015

16:09

Private\Winceos\Coreos\Nk\Kernel

Nkmain.lib

3,228,808

15-Dec-2015

16:14

Public\Common\Oak\Lib\Mipsii\Checked

Nkprmain.lib

3,274,916

15-Dec-2015

16:14

Public\Common\Oak\Lib\Mipsii\Checked

Nkmain.lib

2,168,634

15-Dec-2015

16:16

Public\Common\Oak\Lib\Mipsii\Retail

Nkprmain.lib

2,215,514

15-Dec-2015

16:16

Public\Common\Oak\Lib\Mipsii\Retail

Nkmain.lib

3,661,710

15-Dec-2015

16:14

Public\Common\Oak\Lib\Mipsii\Debug

Nkprmain.lib

3,730,344

15-Dec-2015

16:14

Public\Common\Oak\Lib\Mipsii\Debug

Nkmain.lib

3,526,850

15-Dec-2015

16:15

Public\Common\Oak\Lib\Armv6\Checked

Nkprmain.lib

3,584,086

15-Dec-2015

16:15

Public\Common\Oak\Lib\Armv6\Checked

Nkmain.lib

2,404,786

15-Dec-2015

16:15

Public\Common\Oak\Lib\Armv6\Retail

Nkprmain.lib

2,462,986

15-Dec-2015

16:15

Public\Common\Oak\Lib\Armv6\Retail

Nkmain.lib

3,916,456

15-Dec-2015

16:14

Public\Common\Oak\Lib\Armv6\Debug

Nkprmain.lib

3,986,992

15-Dec-2015

16:14

Public\Common\Oak\Lib\Armv6\Debug

Nkmain.lib

3,052,244

15-Dec-2015

16:14

Public\Common\Oak\Lib\X86\Checked

Nkprmain.lib

3,094,492

15-Dec-2015

16:14

Public\Common\Oak\Lib\X86\Checked

Nkmain.lib

2,001,384

15-Dec-2015

16:14

Public\Common\Oak\Lib\X86\Retail

Nkprmain.lib

2,043,930

15-Dec-2015

16:14

Public\Common\Oak\Lib\X86\Retail

Nkmain.lib

3,192,798

15-Dec-2015

16:15

Public\Common\Oak\Lib\X86\Debug

Nkprmain.lib

3,240,284

15-Dec-2015

16:15

Public\Common\Oak\Lib\X86\Debug

Nkmain.lib

2,972,950

15-Dec-2015

16:15

Public\Common\Oak\Lib\Sh4\Checked

Nkprmain.lib

3,010,464

15-Dec-2015

16:15

Public\Common\Oak\Lib\Sh4\Checked

Nkmain.lib

2,038,458

15-Dec-2015

16:14

Public\Common\Oak\Lib\Sh4\Retail

Nkprmain.lib

2,080,254

15-Dec-2015

16:14

Public\Common\Oak\Lib\Sh4\Retail

Nkmain.lib

3,279,532

15-Dec-2015

16:15

Public\Common\Oak\Lib\Sh4\Debug

Nkprmain.lib

3,329,196

15-Dec-2015

16:15

Public\Common\Oak\Lib\Sh4\Debug

Nkmain.lib

3,286,498

15-Dec-2015

16:15

Public\Common\Oak\Lib\Mipsii_fp\Checked

Nkprmain.lib

3,332,610

15-Dec-2015

16:15

Public\Common\Oak\Lib\Mipsii_fp\Checked

Nkmain.lib

2,228,778

15-Dec-2015

16:15

Public\Common\Oak\Lib\Mipsii_fp\Retail

Nkprmain.lib

2,275,884

15-Dec-2015

16:15

Public\Common\Oak\Lib\Mipsii_fp\Retail

Nkmain.lib

3,737,782

15-Dec-2015

16:14

Public\Common\Oak\Lib\Mipsii_fp\Debug

Nkprmain.lib

3,806,754

15-Dec-2015

16:14

Public\Common\Oak\Lib\Mipsii_fp\Debug

Nkmain.lib

3,516,420

15-Dec-2015

16:15

Public\Common\Oak\Lib\Armv7\Checked

Nkprmain.lib

3,573,434

15-Dec-2015

16:15

Public\Common\Oak\Lib\Armv7\Checked

Nkmain.lib

2,398,270

15-Dec-2015

16:15

Public\Common\Oak\Lib\Armv7\Retail

Nkprmain.lib

2,456,462

15-Dec-2015

16:15

Public\Common\Oak\Lib\Armv7\Retail

Nkmain.lib

3,906,118

15-Dec-2015

16:14

Public\Common\Oak\Lib\Armv7\Debug

Nkprmain.lib

3,975,816

15-Dec-2015

16:14

Public\Common\Oak\Lib\Armv7\Debug

Nkmain.lib

3,526,830

15-Dec-2015

16:15

Public\Common\Oak\Lib\Armv5\Checked

Nkprmain.lib

3,584,066

15-Dec-2015

16:15

Public\Common\Oak\Lib\Armv5\Checked

Nkmain.lib

2,404,740

15-Dec-2015

16:15

Public\Common\Oak\Lib\Armv5\Retail

Nkprmain.lib

2,462,940

15-Dec-2015

16:15

Public\Common\Oak\Lib\Armv5\Retail

Nkmain.lib

3,917,106

15-Dec-2015

16:14

Public\Common\Oak\Lib\Armv5\Debug

Nkprmain.lib

3,987,638

15-Dec-2015

16:14

Public\Common\Oak\Lib\Armv5\Debug

References

Learn about the terminology that Microsoft uses to describe 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.