Microsoft KB Archive/263056

{|
 * width="100%"|

BUG: MAPSYM Is Not Compatible with Visual C++ Versions 5, 6

 * }

Q263056

-

The information in this article applies to:


 * Microsoft Windows 95 Driver Development Kit (DDK)
 * Microsoft Windows 98 Driver Development Kit (DDK)
 * The Linker (LINK.EXE)

-

SYMPTOMS
When you use Visual C++ version 5 or version 6 to create a map (.MAP) file with line number information, and then you create a symbol file with the Microsoft Symbol File Generator (MAPSYM), the following error occurs:

Bad hex digit (0x79)

CAUSE
This error occurs because MAPSYM cannot process a text string that is added by the linker that follows the line number information in the map (.MAP) file. The following is an example of the text string in the map (.MAP) file:

XX bytes saved through ICF where XX is an unknown number of bytes.

Identical COMDAT Folding (ICF) makes the image smaller when it eliminates identical COMDATs. MAPSYM cannot handle the informative ICF message the linker places in the map (.MAP) file.

RESOLUTION
The following are two possible work arounds for this problem:


 * Delete the ICF text string in the map (.MAP) file.
 * Link the object code with the OPT:NOICF option, which disables ICF.

NOTE: It is preferable to use ICF, and then delete the offending ICF text string from the map (.MAP) file because ICF results in a smaller image size.

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Additional query words:

Keywords : kbDDK kbLinker kbDSupport

Issue type : kbbug

Technology : kbVCsearch kbAudDeveloper kbWin95search kbWin98search kbWin95DDKSearch kbWinDDKSearch kbWin98DDKSearch kbLINKSearch kbWin95DDK kbWin98DDK