CodeView Gives "Bad DLL Format in 'Filename'"

Last reviewed: July 17, 1997
Article ID: Q87922
4.0x 4.10 | 4.0x 4.10 4.25
MS-DOS    | WINDOWS
kbtool kberrmsg

The information in this article applies to:

  • Microsoft CodeView for MS-DOS, versions 4.0, 4.01, 4.05, and 4.1
  • Microsoft CodeView for Windows, versions 4.0, 4.01, and 4.1
  • Microsoft CodeView for Win32s, version 4.25

SUMMARY

Attempting to have CodeView for Windows version 4.0x or 4.1 or CodeView for Win32s version 4.25 load one of the DOS expression evaluators through an Eval statement in the [CVW] section of the TOOLS.INI file will cause the following error message to be displayed:

   bad DLL format in 'filename'

'filename' is the name of the expression evaluator that CodeView for
Windows or CodeView for Win32s is trying to load, and will be either EED1CAN.DLL or EED1CXX.DLL. The message is issued immediately after the file to be debugged has been specified.

If an expression evaluator designed to run in the Windows environment is loaded by CodeView under MS-DOS, CodeView will cause the following error message to be displayed when run under Windows:

   This application has violated system integrity
   due to an invalid general protection fault and
   will be terminated.

   Quit all applications, quit Windows, and then
   restart you computer.

If CodeView is run outside of Windows, it will either generate a R6915 unhandled exception or hang the machine.

MORE INFORMATION

CodeView versions 4.0x and 4.1, CodeView for Windows versions 4.0x and 4.1, and CodeView for Win32s version 4.25 use expression evaluators to look up symbols, parse, and evaluate expressions. The expression evaluators are provided in the form of dynamic-link libraries (DLLs).

The Eval statement can be used in the TOOLS.INI file to tell CodeView to load a specific expression evaluator. If no Eval statement is used, CodeView loads the C++ expression evaluator by default.

The expression evaluators used by CodeView under MS-DOS are different than those used by CodeView for Windows or CodeView for Win32s because the environments they operate in are different. The names of the expression evaluators identify the environment they were designed to run in and use the following naming convention:

   EEhost evaluator.DLL

The "host" portion is either D1 for MS-DOS or W0 for Windows. The "evaluator" part is either CAN for C or MASM, or CXX for C, C++, or MASM. For example, the EED1CAN.DLL expression evaluator is the C and MASM expression evaluator for CodeView under MS-DOS. EEW0CAN.DLL is the C and MASM expression evaluator for CodeView for Windows.


Additional reference words: kbinf 4.00 4.10
KBCategory: kbtool kberrmsg
KBSubcategory: CvwIss
Keywords : CvwIss kb16bitonly kberrmsg kbtool
Version : 4.0x 4.10 | 4.0x 4.10 4.25
Platform : MS-DOS WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.