KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q40316: QC 2.00 SAMPLES.DOC: Note on Graphics Libraries

Article: Q40316
Product(s): See article
Version(s): 2.00
Operating System(s): MS-DOS
Keyword(s): enduser | | mspl13_c
Last Modified: 17-JAN-1989

The following information about graphic libraries is taken from the
SAMPLES.DOC file from Microsoft QuickC Compiler Version 2.00.

GRDEMO and LIFE require GRAPHICS.LIB. CHRTDEMO requires GRAPHICS.LIB
and PGCHART.LIB. If you did not request these libraries in your
combined library files during setup, you will get "unresolved
external" linker errors when you try to compile the programs.

If you are using the QC environment, you must add the appropriate
library names to the program list (.MAK) files. For example, if you
want to compile LIFE, select Edit Program List from the Make menu. A
dialog box will appear showing the contents of the LIFE.MAK program
list. Enter the name GRAPHICS.LIB at the File Name prompt and select
the Save List button.

If you are using QCL, specify the library names on the command line.
For example, use this command line to compile LIFE:

   QCL life.c tools.c graphics.lib

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.