PRB: Device MMD.386 Not Loaded w/ Visual C++ 1.0 on Windows NT

Last reviewed: October 18, 1996
Article ID: Q130817
The information in this article applies to:
  • The development environment included with:

        - Microsoft Visual C++ for Windows, version 1.0
        - Microsoft FORTRAN PowerStation for Windows, versions 1.0, 1.0a
    

SYMPTOMS

When attempting to compile from the development environment while running on Windows NT you receive the following message stating that MMD.386 is not loaded.

   "The MMD.386 virtual device driver is not loaded in Windows.
   Ensure that the line 'DEVICE = <Directory Specified in Setup for
   Binaries>\MMD.386' exists in your SYSTEM.INI [386Enh] section."

CAUSE

The error message is correct. MMD.386 is a Virtual device driver (VxD) designed for 16-bit Windows, so Windows NT does not load or execute these VxD files. Therefore, you cannot compile from within the development environment on Windows NT.

However, if you obtain the B2FIX patch, you can use the command-line tools in a console session under Windows NT. In this way, you can still use the development environment and Wizards. Then go to a console session, and execute the \MSVC\BIN\MSVCVARS.BAT file to set your environment variables and use NMAKE.EXE on the makefile produced by the development environment. For example:

    namke /f project.mak

Please see the following Windows NT article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q103621
   TITLE     : Running Visual C++ for Windows with Windows NT

RESOLUTION

This is no longer a problem with Visual C++ for Windows, version 1.5 and later.


Additional reference words: 1.00
KBCategory: kbtool kbprb kbtshoot
KBSubcategory: VwbIss


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: October 18, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.