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

ID: Q173086


The information in this article applies to:


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 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 


Keywords          : win95 appscomp 
Version           : WINDOWS:95
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: June 11, 1999