ID Number: Q66225
6.00 6.00a 6.00ax
OS/2
Summary:
SYMPTOMS
In Microsoft C versions 6.0, 6.0a, and 6.0ax, the following error
may be generated when linking the real mode graphics library,
GRAPHICS.LIB, with an OS/2 application:
L2029: '__aDBswpchk': unresolved external
CAUSE
GRAPHICS.LIB is for real mode MS-DOS applications. Only
character-oriented graphics routines from the graphics library may
be used with OS/2 applications.
RESOLUTION
OS/2 programs must be linked with the protected mode version of the
graphics library, GRTEXTP.LIB. The following example compiles and
links an OS/2 application that uses text graphics functions, using
the sample program TEXT.C from the online help:
cl /Lp text.c /link grtextp.lib
Additional reference words: 6.00 6.00a 6.00ax