WXServer Needs /W Switch When Running in a Window

Last reviewed: July 17, 1997
Article ID: Q85497
1.00 WINDOWS kbtool

The information in this article applies to:

  • Microsoft WXServer, version 1.0

SUMMARY

When Programmer's WorkBench (PWB) runs a Windows program or CodeView for Windows (CVW), it uses the WX.EXE program (also called WXServer) to allow it to do so. By default, WXServer works from an MS-DOS full screen under Windows. If you are running PWB in a window, WXServer will switch you to full screen when the spawned program returns unless you use the /W command-line option. The /W option can be added to the WX.EXE command line by changing the PWB project template that is currently being used. To change the project template, follow these steps:

  1. Make sure that the project template to be edited is the project template you want.

  2. Make the appropriate changes to the project template.

    a. From the Options menu, choose Project Templates. b. Choose Customize Project Template. c. Type the following in the Build Rule edit field:

             macro WXFLAGS "/w"
    
       d. Choose Set Build Rule.
       e. Choose OK.
    
    

MORE INFORMATION

For more information about WXServer, query in the online help by typing the following at the DOS prompt:

   qh wx

This invokes the QuickHelp utility with information about WXServer. You can also bring up QuickHelp by selecting the C/C++ 7.0 Reference icon created by setup, and by choosing View,Search, and typing in "wx". Also refer to part 1 of the DETAILS.TXT file.


Additional reference words: kbinf kbinf 1.00
KBCategory: kbtool
KBSubcategory: TlsMisc
Keywords : kb16bitonly


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