Installing Win32s in Windows and Windows for Workgroups

ID: Q120901

The information in this article applies to:

SUMMARY

Win32s is a set of DLLs and a virtual device driver (VxD) that allows Win32-based applications to run on top of Windows or Windows for Workgroups. If you receive the following error message when you run or install a Win32-based application

   This program cannot be run in DOS mode

Win32s is either not installed or not installed properly.

You can use Freecell to test your installation of Win32s.

MORE INFORMATION

Win32s Version 1.2 Availability and Support

Win32s is available from many sources. Microsoft Personal Operating System Support Engineers support the installation of Win32s when it is obtained from the following source:

The following file is available for download from the Microsoft Software Library:

 ~ Pw1118.exe (size: 2530739 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

Microsoft Windows and Windows for Workgroups support engineers may not be able to assist you with individual application or Win32s development questions. Contact your software manufacturer or Microsoft Developer Support for assistance in these areas.

Win32s Problems

Freecell is an application available with Win32s in the above locations. To test your installation of Win32s, run Freecell. If you are experiencing problems but Freecell runs properly, contact the manufacturer of the product you are attempting to run or install for further information. If Freecell generates an error, continue reading the following information.

One of the following error messages occurs when you run Freecell and Win32s is not installed properly:

Also, if Win32s is not installed properly, the display may be corrupted as soon as you run Freecell.

Resolutions

If Win32s is not installed correctly, check the following:

Network Installation of Win32s

The following information describes how to install Win32s on a network setup of Windows on a Novell NetWare server (SETUP /A and /N).

NOTE: Microsoft does not support this method; therefore, Microsoft Technical Support does not support the procedure in this article. Although we have tested the following procedure and it appears to function as described, if this method does not work you should use a supported configuration instead.

To set up Win32s to a shared Windows directory on a Novell NetWare server, you must have full read/write access to that directory. Win32s does set up correctly the first time. The Setup program detects the shared directory (SETUP /A) as the Windows directory and copies the files to it. Setup also modifies the .INI files for the copy of Windows from which you are performing Setup. For all other installations, the SYSTEM.INI files must be modified manually; otherwise, the full setup program tries to run again and attempts to write the files to the server directory again. Add the following lines to each SYSTEM.INI file:

   [Boot]
   drivers=F:\<shared Windows directory>\winmm16.dll

      NOTE: The drivers= line may contain additional drivers.

   [386Enh]
   device=F:\<shared Windows directory>\win32s\w32s.386.

Both lines should contain the full network path to the files in the shared Windows directory. The Win32s Setup program installs the Win32s directory, which is ordinarily created in the Windows SYSTEM subdirectory, into the shared Windows directory.

KBCategory: kbpolicy kbdisplay kbinterop kberrmsg kbfile KBSubcategory: win31 wfw wfwg Additional reference words: 3.10 3.11 win32 afterdark

Keywords          : win31 wfwg 
Version           : WINDOWS:1.0,1.1,1.15,1.2,125a
Platform          : WINDOWS

Last Reviewed: April 11, 1999