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

ID: Q130817


The information in this article applies to:


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:
Q103621 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 query words: 1.00


Keywords          : kbide kbVC 
Version           : 1.00
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: July 28, 1999