The information in this article applies to:
SUMMARY
According to "The MS-DOS Encyclopedia," an MS-DOS .EXE file contains a
checksum value in its .EXE file header. This checksum value should make the
sum of all words in the .EXE file equal FFFFh. However, if the LINK command
line specifies the /CODEVIEW or /EXEPACK options, LINK does not calculate
the checksum correctly. Because current versions of MS-DOS ignore this
checksum, this does not cause any noticeable problems.
MORE INFORMATIONThe following code example calculates the checksum for a specified MS-DOS executable file. Sample Code
Additional query words: kbinf 3.x 4.0x 4.10 5.0x 5.10 5.13 5.1x LinkIss
Keywords : kb16bitonly |
Last Reviewed: October 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |