Getting an Application Ready for Retail Release

Last reviewed: July 22, 1997
Article ID: Q45692

The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) for Windows versions 3.0 and 3.1

SUMMARY

This article describes the steps you should take when moving your application from DEBUG to RELEASE mode. This article contains a section for Windows hosted tools, and a section for non-Windows hosted tools.

USING WINDOWS HOSTED TOOLS

Visual C++

Change the Build Mode to Release by choosing Project from the Options menu. The IDE (Integrated Development Environment) modifies the proper switches and will use the custom options selected by the user.

QuickC for Windows

QuickC for Windows has a procedure similar to Visual C++.

USING NON-WINDOWS HOSTED TOOLS

Code File Changes

  1. Change the MAKE file compile line from something such as the following

          cl -W2  -Od -FPi -Zpei myapp.c
    

    to the following:

          cl -W2  -Os -Fpi myapp.c
    

    NOTE: The -Zi switch will not put in line information for CodeView for Windows (CVW), and the -FPi switch will use the floating-point coprocessor if it is present.

  2. Remove the /co switch from the linker command line options.

  3. Remove any debugging code, and/or flip any debugging switches present in the application to off.

Checking The User Interface

  1. Verify that the application will work without the mouse, making sure that the keyboard interface is all set up, especially in dialog boxes.

  2. Check all fonts used for spacing.

    NOTE: This step is not necessary if you are using TrueType fonts.

Preparing Documentation

Starting with Windows version 3.0, the internal screen capture command can be used to take screen shots of the application. Press PRINT SCREEN or SHIFT+PRINT SCREEN on older systems, and Windows will copy the screen as a bitmap into the clipboard. The bitmap can then be pasted into the a word processing application to create the written documentation.


Keywords : GenSDK kb16bitonly kbcode kbprg kbcode kbhowto kbprg
Version : 3.00 3.10
Platform : WINDOWS
Issue type : kbhowto
Resolution Type : kbcode


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