ID: Q120901
The information in this article applies to:
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.
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.
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:
-or-
-or-
-or-
If Win32s is not installed correctly, check the following:
device=*vmcpd
The driver interferes with installing Win32s because the LaserMaster drivers create a WINSPOOL device. The extension is ignored when the filename portion of a path matches a device name. As a result, when Setup tries to write to WINSPOOL.DRV, it fails because it attempts to write to WINSPOOL. In fact, any Win32-based application that tries to link to WINSPOOL.DRV also fails; however, most Win32-based applications that print under Win32s do not use the WINSPOOL application programming interfaces (APIs) because they are not supported in Win32s. As a result, you can usually disable this driver while installing Win32s and then re-enable it afterwards.
Edit the WIN32S.INI file on your hard disk. Change the line(s) SETUP=1 to read SETUP=0. Reboot your computer and reinstall Win32s.
NOTE: You can also delete the WIN32S.INI file altogether for a clean installation.
Although it is possible to install Win32s over an old installation of Win32s, it is recommended that you remove the old files before installing the new ones.
C:\DOS\SHARE.EXE
-or-
If you are running Windows for Workgroups or you have a file by the name VSHARE.386 on your system, you do not need to load SHARE in the AUTOEXEC.BAT file. If you have this file, edit the SYSTEM.INI file and add the following line to the [386Enh] section:
Device=VSHARE.386
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