KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q92793: WFWG: Exiting from Shell Does Not Exit Windows for Workgroups

Article: Q92793
Product(s): Microsoft Windows 3.x Retail Product
Version(s): WINDOWS:3.1,3.11
Operating System(s): 
Keyword(s): 
Last Modified: 07-OCT-1999

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Windows for Workgroups versions 3.1, 3.11 
-------------------------------------------------------------------------------

SUMMARY
=======

Some shell programs may not behave correctly when you run them with Windows for
Workgroups; when you exit these shell programs, you may not exit Windows. In
this situation, the correct behavior for a shell program is to exit windows.

An example of a shell program is Windows Program Manager. When you exit Program
Manager, you also exit Windows.

MORE INFORMATION
================

In Windows version 3.0, an application determines that it is the shell by
checking the number of tasks that are currently running. Because Windows for
Workgroups starts some tasks before the shell, this manner of determining shell
status does not work. To correctly determine shell status, applications should
check the "shell=" line in the [boot] section of SYSTEM.INI file.

For information about how your shell determines shell status, contact the
supplier of your shell program.

WORKAROUND
==========

1. Create a directory called WINDOWS\WFWINIT.

2. Copy the following files from your WINDOWS directory to the newly created
  WINDOWS\WFWGINIT directory:

  PRINTMAN.EXE
  CLIPSRV.EXE
  NETDDE.EXE

3. Delete or rename the original files.

4. Create program items in your startup group that start each of these files
  from the WINDOWS\WFWGINT directory.

Additional query words: 3.10 3.11

======================================================================
Keywords          :  
Technology        : kbAudDeveloper kbWFWSearch kbWFW310 kbWFW311
Version           : WINDOWS:3.1,3.11

=============================================================================

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.

Copyright Microsoft Corporation 1986-2002.