Microsoft KB Archive/36423

From BetaArchive Wiki

How to Manually Set Up QuickC 1.00 and 1.01 on a Harddisk PSS ID Number: Q36423 Article last modified on 01-24-1989 PSS database name: S_QuickC

1.00 1.01



The following information explains how to manually set up Microsoft QuickC for a hard disk. It will show you how to set up in the same way as the setup.exe program.

This information shows how to set up QuickC under the directory “QC” on Drive C:. You may change the name of any directory or the drive, but any change must be consistent throughout these instructions.

Note: make sure you have backed up your original distribution disks.

More Information:

To set up QuickC on a hard drive, do the following:

  1. Create the following directories:

    C: C: C: C: C: C:

  2. Add the following to your AUTOEXEC.BAT file:


    (You may place this in a separate batch file if you prefer.) Note: it is important that you do NOT add spaces in or after these variables. For example, “SET LIB = C:” will not work correctly; neither will “SET LIB=C:” because it has trailing spaces at the end.

  3. Add the following to your CONFIG.SYS file:


    (You must reboot after this step for these changes to take effect.)

  4. Copy the following files into C::

    QC.EXE QC.HLP QC.OVL QCL.EXE QCL.HLP LINK.EXE QLIB.INI QLIB.DOC .EXE (All other files with the .EXE extension.) .COM (All other files with the .COM extension.) .ERR (All other files with the .ERR extension.) .HLP (All other files with the .HLP extension.)

  5. Copy the following files into C::

    *.H (All files with the .H extension except the following: TYPES.H, LOCKING.H, STAT.H, TIMEB.H, UTIME.H )

  6. Copy the following files into C::


    (You will find these five files on the same disk as the other include files in a subdirectory called SYS.)

  7. Copy the following files into C:

    CFLOW.DOC *.C (All files with the .C extension.) (This is optional. Copy these files only if you want the sample programs.)

    Now you must build the combined library that you want to use. You must build the Medium Library for the QuickC environment. Although you can use the Small, Compact, Medium, and Large memory models with QCL.EXE, QuickC itself will use the Medium model only.

  8. Copy the following files to C::

    • xLIBC.LIB (‘x’ can be S, M, C, or L)
    • xLIBFP.LIB EM.LIB LIBH.LIB GRAPHICS.LIB *.OBJ (Any file with the .OBJ extension)

    Note: for example, if you were to build the Medium Library, MLIBCE.LIB, you would substitute xLIBC.LIB with MLIBC.LIB and xLIBFP.LIB with MLIBFP.LIB. If you wanted to build the Small Library, SLIBCE.LIB, you would substitute xLIBC.LIB with SLIBC.LIB and xLIBFP.LIB with SLIBFP.LIB.

    Assuming that you are building the Medium Library, MLIBCE.LIB, you would now combine these copied files using the Library Manager, LIB.EXE, as follows:

  9. Change the directory so that you are in C:by typing the following at the DOS prompt:

    LIB MLIBCE.LIB <hit ENTER> [Operations]: +MLIBC.LIB +MLIBFP.LIB +EM.LIB& <hit ENTER> [Operations]: +LIBH.LIB + GRAPHICS.LIB <hit ENTER> [List file]: <hit ENTER>

Note: the “[Operations]:” and “[List file]:” are prompts from the Library Manager so they are not something you will type in. The “&” is a continuation mark that can be used if your line grows too long.

Including the Graphics Library, GRAPHICS.LIB, is optional.

If you run into any errors using LIB.EXE, make sure you are using the correct version. Try step 9 again with this one change: instead of “LIB MLIBCE.LIB” type “C:MLIBCE.LIB” and then hit ENTER.

The Library Manager, LIB.EXE, will now build the Medium library, MLIBCE.LIB. You can delete MLIBC.LIB, MLIBFP.LIB, EM.LIB, and LIBH.LIB from C:because they are no longer necessary. Do NOT delete them from your distribution disks.

The Library Manager now will build MLIBCE.LIB.

You now have set up QuickC. If you have any questions, please call Microsoft Product Support Services at (206) 454-2030.

Copyright Microsoft Corporation 1989.