home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12623 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.7 KB

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