Microsoft KB Archive/324030

From BetaArchive Wiki
Knowledge Base


Error Message: LNK2019: Unresolved External Symbol for Gdi::ClearAllGlyphCaches(Void)

Article ID: 324030

Article Last Modified on 5/27/2005



APPLIES TO

  • Microsoft Windows CE .NET 4.2



This article was previously published under Q324030

SYMPTOMS

When you try to use the recommended method for adding raster font support, you may receive the following message during the build process:

gwes.lib(winmgr.obj) : error LNK2019: unresolved external symbol "public: static int __cdecl Gdi::ClearAllGlyphCaches(void)" (?ClearAllGlyphCaches@Gdi@@SAHXZ) referenced in function "int __cdecl GdiSetGammaValue(unsigned long,int)" (?GdiSetGammaValue@@YAHKH@Z)

CAUSE

This error message occurs because raster font support is not turned on in Windows CE .NET.

RESOLUTION

A supported software update is now available from Microsoft as Windows CE 4.0 Core OS QFE Q324030. 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


The English version of this package has the following file attributes or later:

   Date         Time   Size     File name
   ---------------------------------------------------------------
   08-Aug-2002  10:17  268,896  020808_armv4i_wce40-q324030.exe   
   08-Aug-2002  10:17  268,896  020808_armv4t_wce40-q324030.exe   
   08-Aug-2002  10:17  268,896  020808_armv4_wce40-q324030.exe    
   08-Aug-2002  10:17  264,800  020808_mips16_wce40-q324030.exe   
   08-Aug-2002  10:17  272,992  020808_mipsii_fp_wce40-q324030.exe
   08-Aug-2002  10:17  272,992  020808_mipsii_wce40-q324030.exe   
   08-Aug-2002  10:17  272,992  020808_mipsiv_fp_wce40-q324030.exe
   08-Aug-2002  10:17  272,992  020808_mipsiv_wce40-q324030.exe   
   08-Aug-2002  10:17  268,896  020808_sh3_wce40-q324030.exe    
   08-Aug-2002  10:17  268,896  020808_sh4_wce40-q324030.exe    
   08-Aug-2002  10:17  264,800  020808_x86_wce40-q324030.exe    
                

The English version of this fix has the file attributes (or later) that are listed in the following table.

   Date         Time   Size    File name   Platform
   --------------------------------------------------------
   25-Jul-2002  16:52  75,578  Mgrast.lib  armv4\debug
   25-Jul-2002  16:48  61,428  Mgrast.lib  armv4\retail
   25-Jul-2002  17:23  75,722  Mgrast.lib  armv4i\debug
   25-Jul-2002  17:19  61,552  Mgrast.lib  armv4i\retail
   25-Jul-2002  17:08  69,676  Mgrast.lib  armv4t\debug
   25-Jul-2002  17:04  60,546  Mgrast.lib  armv4t\retail
   25-Jul-2002  18:11  64,552  Mgrast.lib  mips16\debug
   25-Jul-2002  18:07  50,062  Mgrast.lib  mips16\retail
   25-Jul-2002  17:39  75,678  Mgrast.lib  mipsii\debug
   25-Jul-2002  17:35  62,094  Mgrast.lib  mipsii\retail
   25-Jul-2002  18:27  75,686  Mgrast.lib  mipsII_fp\debug
   25-Jul-2002  18:23  62,102  Mgrast.lib  mipsII_fp\retail
   25-Jul-2002  17:55  78,232  Mgrast.lib  mipsiv\debug
   25-Jul-2002  17:51  64,118  Mgrast.lib  mipsiv\retail
   25-Jul-2002  18:44  78,240  Mgrast.lib  mipsiv_fp\debug
   25-Jul-2002  18:40  64,126  Mgrast.lib  mipsiv_fp\retail
   25-Jul-2002  16:21  64,222  Mgrast.lib  sh3\debug
   25-Jul-2002  16:17  55,728  Mgrast.lib  sh3\retail
   25-Jul-2002  16:37  64,222  Mgrast.lib  sh4\debug
   25-Jul-2002  16:33  55,644  Mgrast.lib  sh4\retail
   25-Jul-2002  16:07  60,504  Mgrast.lib  x86\debug
   25-Jul-2002  16:03  49,476  Mgrast.lib  x86\retail
                

MORE INFORMATION

To add raster font support to a platform:

  1. Install the hotfix that is described in this article.
  2. Add the raster font files to the Project.bib file.
  3. Add the Mgrast and Mgrast2 components to the GWE2_COMPONENTS variable in the Cesysgen.bat file. For example:

    set GWE2_COMPONENTS=%GWE2_COMPONENTS% mgrast mgrast2 mgdrwtxt mgpal mgtci


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kberrmsg kbbug kbfix kbqfe KB324030