Microsoft KB Archive/38013

From BetaArchive Wiki

PRB: MAPSYM Error: “Unexpected eof” On Lines > 80 Characters

PSS ID Number: Q38013 Article last modified on 11-05-1993

2.x MS-DOS

The information in this article applies to:
- Microsoft Windows Software Development Kit for Windows version 3.0

SUMMARY

If MAPSYM issues the error “Unexpected eof”, check your .MAP file for lines with more than 80 characters in them. MAPSYM has an 80-character limit for lines, and will generate an incorrect .SYM file (or not generate one at all) if the lines are too long. Lines can get too long because the names of the functions are extremely long.

MORE INFORMATION

Look in the PUBLICS section of the .MAP file for your function names, checking to see if any of the lines are greater than 80 characters. For example, the following symbol will result in a line greater than 80 columns: SUPERDUPERMONDOLIBRARYROUTINE However, it will fit in less than 80 columns if it is shortened as follows: SUPERDUPERMONDOROUTINE

Additional reference words: 2.x KBCategory: KBSubcategory: TlsMapsymMisc Copyright Microsoft Corporation 1993.