======================================================================
                  Increased File Handle Libraries
======================================================================

 --------------------------------------------------------------------
| INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY    |
| ACCOMPANY THIS DOCUMENT (collectively referred to as an            |
| Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY      |
| KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO    |
| THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A     |
| PARTICULAR PURPOSE. The user assumes the entire risk as to the     |
| accuracy and the use of this Application Note. This Application    |
| Note may be copied and distributed subject to the following        |
| conditions: 1) All text must be copied without modification and    |
| all pages must be included; 2) If software is included, all files  |
| on the disk(s) must be copied without modification (the DOS        |
| utility DISKCOPY is appropriate for this purpose); 3) All          |
| components of this Application Note must be distributed together;  |
| and 4) This Application Note may not be distributed for profit.    |
|                                                                    |
| Copyright 1991 Microsoft Corporation. All Rights Reserved.         |
| Microsoft and the Microsoft logo are registered trademarks of      |
| Microsoft Corporation.                                             |
 --------------------------------------------------------------------

The enclosed Increased File Handle Libraries for Microsoft Visual C++ 
1.0 contain the following 13 files:

   README.TXT   - File containing instructions on use of these .LIBs
   S40FILE.LIB  - Small model, assembled for 40 handles and streams
   M40FILE.LIB  - Medium model, assembled for 40 handles and streams
   C40FILE.LIB  - Compact model, assembled for 40 handles and streams
   L40FILE.LIB  - Large model, assembled for 40 handles and streams
   S60FILE.LIB  - Small model, assembled for 60 handles and streams
   M60FILE.LIB  - Medium model, assembled for 60 handles and streams
   C60FILE.LIB  - Compact model, assembled for 60 handles and streams
   L60FILE.LIB  - Large model, assembled for 60 handles and streams
   S100FILE.LIB - Small model, assembled for 100 handles and streams
   M100FILE.LIB - Medium model, assembled for 100 handles and streams
   C100FILE.LIB - Compact model, assembled for 100 handles and streams
   L100FILE.LIB - Large model, assembled for 100 handles and streams

The library files in this package are not complete C libraries. These
libraries only contain three files: CRT0DAT.OBJ, FILE.OBJ, and 
WFILE.OBJ. These are the .OBJs that need to be rebuilt in order to 
increase both file handles and streams in Windows (and QuickWin) 
.EXEs.

These libraries may be used two different ways.

    1) They may be linked in as .OBJ files. When listing .OBJ files on
       the link command line, include the appropriate library. The /NOE
       option will need to be used also. Here are example compile and
       link statements using this method:

          CL /AS /c TEST.c
          LINK TEST.OBJ + S40FILE.LIB /NOE, TEST.EXE;

    2) Replace the module in your combined library with these rebuilt
       modules. This will permanently change your combined libraries.
       Here are the sample LIB commands needed to change SLIBCE.LIB:

          LIB S40FILE.LIB *CRT0DAT.OBJ *FILE.OBJ *WFILE.OBJ;
          LIB SLIBCE.LIB -+CRT0DAT.OBJ -+FILE.OBJ -+WFILE.OBJ;

File handles may also be increased by following the instructions 
starting on page 40 of the Run-Time Library Reference that shipped 
with Visual C++1.0 and the C/C++ 7.0 compiler. These instructions 
require MASM version 6.0 or 6.1.

Programs built with these modified libraries will not run on computers
running a version of MS-DOS eariler than version 3.3.  
 
While Microsoft provides the run-time source so changes like this can
be made, Microsoft does not support these changes.

These files are provided for convenience of Microsoft C users, and are
provided without any support. Any questions about their use should be
directed to the CIS MSLANG forum.
