How to Use Mkcompat.exe for Windows 3.1-Based Programs

Last reviewed: August 26, 1997
Article ID: Q173086
The information in this article applies to:
  • Microsoft Windows 95

SUMMARY

This article describes how to use the Mkcompat.exe tool included with Windows 95.

MORE INFORMATION

The Mkcompat.exe tool was developed to provide a common Windows 95 interface for troubleshooting problems running Windows 3.1-based programs in Windows 95. To use the Mkcompat.exe too, follow these steps:

  1. Click Start, click Run, type "mkcompat.exe" (without quotation marks) in the Open box,, and then click OK.

  2. On the File menu, click Choose Program, click the program you want to use, and then click Open.

  3. Click the options that apply, and then click Save on the File menu.

The available options are:

   Don't spool to enhanced meta files
   Give application more stack space
   Lie about printer device mode size
   Lie about Window's version number
   Win 3.1 style controls

For additional options, click Advanced Options on the File menu. The advanced options are:

   30 average width metrics
   Always send NC_Paint
   Disable 16 color brush cache and 55ms timer
   Disable EMF spooling
   Disable font associations
   Don't attach input thread when journaling, SetActiveWindow ==
      SetForeGroundWind
   Don't enum device fonts
   Don't send calcsize WM_MOVE
   Don't Shutdown/Ignore certain faults/dequote commandline
   Enable 3.x UI features
   Enum Helv and Times Roman fonts
   Force extra windows words
   Force printer text to new band
   Force TT fonts to graphics band
   Force Win31 printer dev mode size
   Global hooks only called for Win16 apps
   Igone discardable segment attributes
   Ignore raster fonts
   Ignore topmost windows
   Increase stack size
   Lie about device caps/no SetDIBits validation
   Lie about windows version
   Mirror fonts in Win.Ini
   Module specific hack
   No HRGN 1
   One graphic band and use print escapes
   Subtract clip siblings
   Support multiple printing bands
   TT fonts are device fonts
   Unused3
   Windows 3.1 palette behavior


Additional query words: 95
Keywords : appscomp win95
Version : WINDOWS:95
Platform : WINDOWS
Issue type : kbhowto


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: August 26, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.