FIX: Cannot load MFC DLL built with Visual Studio 2012 Application Builder in Windows Embedded Compact 2013

Assume that you have a Visual C++ Microsoft Foundation Class (MFC) DLL module that is built by Microsoft Visual Studio 2012 for Windows Embedded Compact. When you load the DLL on a Windows Embedded Compact 2013-based device, the load fails at run-time. In debug builds, debug asserts from calling function LoadLibrary () indicate a problem with the macro AFX_Module_State. In release builds, the module loads. However, the device eventually crashes.



Windows Embedded Compact 2013 Monthly Update (July 2014) 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.

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.

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 hotfix package

File name

File size

Date

Time

Path

Mfcs110ud.lib

1,777,550

19-Jun-2014

03:11

Public\Common\Sdk\Atlmfc\Lib\Arm

Mfcs110u.lib

1,804,266

19-Jun-2014

03:11

Public\Common\Sdk\Atlmfc\Lib\Arm

Mfcs110u.lib

1,804,010

19-Jun-2014

03:11

Public\Common\Sdk\Atlmfc\Lib\X86

Mfcs110ud.lib

1,767,624

19-Jun-2014

03:11

Public\Common\Sdk\Atlmfc\Lib\X86

Dllmodul.cpp

7,640

14-Apr-2014

09:06

Public\Common\Sdk\Atlmfc\Src\Mfc



Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

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?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!

×