Microsoft KB Archive/33688

PRB: Graphics Function Is Unresolved When Compiling In-Memory PSS ID Number: Q33688 Article last modified on 02-13-1992 PSS database name: S_QuickC

1.00 1.01 2.00 2.50 2.51

MS-DOS

Summary:

SYMPTOMS In Microsoft QuickC, unresolved external errors are generated every time a graphics function is called.

CAUSE Graphics functions are not defined in the core library. The routines in the core library are the only library routines pulled in when compiling unless other libraries are specified. To pull in additional library routines, you must create a program list.

RESOLUTION If you built your combined library with graphics, you must create a program list with the names of the source files you are compiling. If you did not include graphics in your combined library, you must include the name of the graphics library and the source files in your program list.

More Information:

Combined libraries contain both the standard C run-time functions and the graphics functions. A selection during setup allows you to choose to build combined libraries or to have separate graphics libraries. Having separate libraries uses less disk space because the graphics routines are stored on disk only once instead of being included in each standard library (there may be several standard libraries depending upon the memory models selected during setup).

To determine if you have combined libraries, get a directory listing of your QuickC libraries directory. If the files GRAPHICS.LIB and PGCHART.LIB are listed, you do not have combined libraries and will need to add GRAPHICS.LIB and/or PGCHART.LIB to your program list.

Additional reference words: 2.00 2.50

Copyright Microsoft Corporation 1992.