FIX: DllMain is not called when a project is loaded through LoadLibrary function in Windows Embedded Compact 2013

This article describes an issue in which the DllMain DLL entry is not called when a project is loaded through the LoadLibrary function in Windows Embedded Compact 2013. An update is available to resolve this issue. Before you install this update, all previously issued updates for this product must be installed.
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 2013 device and then create a DLL project. When the DLL project is loaded through the LoadLibrary function, the DllMain DLL entry is not called as expected. This behavior occurs because the file is loaded as a data file instead of as an executable file.

Note This issue does not occur if the DLL project is built as an operating system subproject.

Software update information

Windows Embedded Compact 2013 Monthly Update (February 2016) is now available from Microsoft. To download this Windows Embedded Compact 2013 monthly update, go to Microsoft OEM Online or MyOEM


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

Article ID: 3144208 - Last Review: 03/15/2016 16:31:00 - Revision: 1.0

Windows Embedded Compact 2013

  • kbsurveynew kbexpertiseadvanced atdownload kbfix KB3144208