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

Introduction

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.

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 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.

Resolution

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

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

References

Learn about the terminology that Microsoft uses to describe software updates.
מאפיינים:

מזהה פריט: 3144208 - סקירה אחרונה: 15 במרץ 2016 - תיקון: 1

משוב