FIX: You receive an "error LNK2001" error message in Windows CE 5.0 when you use an OEM-provided Platform SDK to build the Debug configuration for an application that uses an ARMV4I-based device (904386)



The information in this article applies to:

  • Microsoft Windows CE 5.0

SYMPTOMS

In Microsoft Windows CE 5.0, when you use an OEM-provided Platform SDK to build the Debug configuration for a Windows CE 5.0 application that uses an ARMV4I-based device, you receive the following linker error message:
error LNK2001: unresolved external symbol "void __cdecl ConstructElements(class CString *,int)"

CAUSE

This problem occurs if the ARMV4I version of the Mfcce400d.dll file that is provided in Windows CE 5.0 does not export the C function or the C++ function that contains the following code example:
void __cdecl ConstructElements(class CString *,int)
When this error occurs, a linker error message is generated.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE 5.0 Core OS QFE 904386. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites

This software update is supported only if all previously issued software updates for this product have also been installed.

Restart requirement

After you install this software update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart your computer after you apply this software update.

Software update replacement information

This software update does not replace any other software updates.

File information

The English version of this software update has the file attributes (or later file attributes) that are listed in the following table.
   Date         Time   Size       File name
   -------------------------------------------------------------------
   Path: Signed
   03-Aug-2005  19:23  1,890,304  Wincepb50-050801-kb904386-armv4i.msi
The English version of this software update 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 tool in Control Panel.
   Date         Time   Version       Size       File name
   ----------------------------------------------------------
   Path: Others\Mfc\Lib\Armv4i
   27-Jul-2005  05:13  6.0.712.2034  1,160,704  Mfcce400d.dll  THUMB
   27-Jul-2005  05:13                1,345,516  Mfcce400d.lib
   27-Jul-2005  05:13                  380,644  Mfcce400d.rel

   Path: Others\Mfc\Src\Armv4i
   27-Jul-2005  05:06                  170,238  Mfcce400d.def

STATUS

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

MORE INFORMATION

After you apply this software update, the OEM must export a new Platform SDK to developers who are developing for the OEM-provided platform that has been updated by this software update.

Modification Type:MinorLast Reviewed:7/25/2006
Keywords:kbBug kbfix kbQFE kbpubtypekc KB904386 kbAudOEM