Article View: comp.os.msdos.programmer
Article #332Re: stand-alone VGA using Borland C++
From: Philip Smolen
Date: Sun, 09 Aug 1992 17:38
Date: Sun, 09 Aug 1992 17:38
24 lines
1475 bytes
1475 bytes
In article <20271@optima.cs.arizona.edu> copeland@cs.arizona.edu (Jack Copeland) writes: >I'm trying to create a "stand-alone" (meaning no BGI files needed) program >using Borland C++. This program uses graphics and will be distributed as [...] > >The "Help" says you can do this by including the BGI library in your project >file, but I've tried this. > >Can someone explain how to include the BGI stuff in the program.exe file??? > You need to use a program called BGIOBJ.EXE. It should be in your BGI directory. This program converts a .BGI file into an .OBJ file. The resulting .OBJ file can be linked into your program just like any other .OBJ file. Once you link the graphics driver into your program (instead of using it as a .BGI file) you will need to make a few minor changes to your code. Look up the registerbgidriver function for more details. (I'm getting this information from the online help from our copy of TC here at work. I think that it is the same for BC.) --Phil
Technical Details
Message-ID:
<l8am0nINN7v8@muleshoe.cs.utexas.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!newsReferences:
<20271@optima.cs.arizona.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!news From: phil@cs.utexas.edu (Philip Smolen) Newsgroups: comp.os.msdos.programmer Subject: Re: stand-alone VGA using Borland C++ Date: 9 Aug 1992 12:38:31 -0500 Organization: U Texas Dept of Computer Sciences, Austin TX Lines: 24 Message-ID: <l8am0nINN7v8@muleshoe.cs.utexas.edu> References: <20271@optima.cs.arizona.edu> NNTP-Posting-Host: muleshoe.cs.utexas.edu Keywords: Borland C++ VGA BGI