Microsoft KB Archive/94586

= EXE2BIN Error Messages =

Article ID: 94586

Article Last Modified on 10/22/2003

-

APPLIES TO


 * Microsoft Macro Assembler 5.0
 * Microsoft Macro Assembler 5.1 Standard Edition
 * Microsoft Macro Assembler 5.1a
 * Microsoft Macro Assembler 6.0 Standard Edition
 * Microsoft Macro Assembler 6.0a
 * Microsoft Macro Assembler 6.0b
 * Microsoft Macro Assembler 6.1 Standard Edition
 * Microsoft Macro Assembler 6.1a
 * Microsoft Macro Assembler 6.11 Standard Edition

-



This article was previously published under Q94586



SUMMARY
The following table of EXE2BIN errors is adapted from &quot;The MS-DOS Encyclopedia&quot; (Microsoft Press). Even though EXE2BIN is provided with MS-DOS, it is often used during the process of building an application with the Microsoft Macro Assembler (MASM).

Error: File cannot be converted

Cause: The program to be converted has one of the following problems:
 * The program has an origin of 0100h but a different entry point.
 * The program requires segment fixups.
 * The program code and data are larger than 64 KB.
 * The program has more than one declared segment
 * The file is not a valid .EXE-format file.

Error: File creation error

Cause: EXE2BIN cannot create the output file for one of the following reasons:
 * A read-only file with the same name already exists
 * The specified directory is full
 * The specified disk is full, write-protected, or unreadable.

Error: File not found

Cause: The file does not exist or the incorrect path was given.

Error: Fixups needed - base segment (hex):

Cause: The .EXE-format file contains segment references that would ordinarily be relocated by the .EXE file loader. Specify the absolute segment address at which the converted module will be executed.

Error: Incorrect DOS version

Cause: The version of EXE2BIN is not compatible with the version of MS-DOS that is running.

Error: Insufficient disk space

Cause: The destination disk has insufficient space to create the memory-image output file.

Error: Insufficient memory

Cause: Not enough memory is available to run EXE2BIN.

Error: WARNING - Read error in EXE file. Amount read less than size in header.

Cause: The file size given in the .EXE header is inconsistent with the actual size of the file.

Additional query words: kbinf 5.00 5.10 5.10A 6.00 6.00A 6.00B 6.10

Keywords: KB94586

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.