[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | Microsoft Visual C/C++ |
|
Moderator: | PLUGH::needle |
|
Created: | Tue Mar 16 1993 |
Last Modified: | Wed Jun 04 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 1121 |
Total number of notes: | 4385 |
1118.0. "Invalid library format???" by PCBUOA::BAYJ (Jim, Portables) Fri May 23 1997 11:40
I am porting a V1.0 VC++ app to VC++ 4.1. I am getting the error:
C:\MSVC\LIB\graphics.lib : warning LNK4003: invalid library format;
library ignored
The application has an include for the header file <graph.h>, and gets
an unresolved external symbol at link time for a routine called
_clearscreen, presumably because it can't read the library.
This library actually came with VC++ 1.0, which I also have installed,
and I have my include and lib file pointer lists pointing to the 1.0
include and lib directories (AFTER the 4.1 libraries, that is).
I can't find documentation for the graphics package on the 4.1 CD, but
there are several articles on it that contain code samples which use
the __clearscreen call. Apparently graph.h pointed to a library of
console mode graphics primitives (actually, its more likely they were
used for "screen" graphics before Windows and Consoles existed, or at
least were popular).
Does anyone know anything about this graphics library GRAPHICS.LIB? Is
there something I can do to VC++ or to the graphics library to make it
usable?
Fortunately, there is an article that explains writing your own version
of __clearscreen for console mode, and that seems to be the only
external reference that was not found. But if the routine is sitting
there waiting to be used, I'd like to use it if I could.
jeb
T.R | Title | User | Personal Name | Date | Lines |
---|
1118.1 | VC++ 5.0 does not have it | DECWET::JO | Mary had a little lamb, with mint jelly. Dot Warner | Fri May 23 1997 13:54 | 6 |
| hi jeb,
i have VC++ 5.0 and i can't find graph.h or graphics.lib.
creating your own __clearscreen may be the only way.
jo
|