home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!uoft02.utoledo.edu!desire.wright.edu!achaboty
- Newsgroups: comp.lang.c++
- Subject: Shouldn't initgraph() work???
- Message-ID: <1992Aug20.003806.3641@desire.wright.edu>
- From: achaboty@desire.wright.edu
- Date: 20 Aug 92 00:38:06 EST
- Organization: Wright State University
- Lines: 26
-
- Bonjour. I'm using BC++ 3.1 and can't get the function initgraph
- to find the egavga.bgi file (I keep getting a -3 return value for gdriver
- when initgraph is called). I tried moving the program into the BGI
- subdirectory and into the LIBRARY subdirectory, but neither one worked. The
- radio button to enable the graphics driver (option|linker|libraries) has
- been checked and the program does compile, yet never wants to run.
- Even when I run the exmple program given by Borland (bgidemo.c), I
- still get an error message. I have tried just about everything I can think
- of except the right way.
- Has anyone ever had a similar problem and what can I do to resolve
- it?
- Thanks a lot!
-
- P.S. Is it possible to link any .obj file with a C++ .obj file?
- Specifically a turbo basic program used to control a BOCA printer? If so,
- how can this be done, or would it be possible to execute that TB program
- while still running the C++ .exe? Thanks again for your help.
-
- --- Andrew
-
-
- +=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=+
- | Andrew Chaboty | achaboty@desire.wright.edu | Why in the world |
- | "Gamahuche" | Wright State University | would I want to speak |
- | KB8LUQ | Dayton, Ohio | for this university? |
- +=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=+
-