Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!noose.ecn.purdue.edu!mentor.cc.purdue.edu!rusbasra From: rusbasra@mentor.cc.purdue.edu (Bob Rusbasan) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Infoplus 135 Message-ID: <2505@mentor.cc.purdue.edu> Date: 10 Dec 90 07:28:01 GMT References: <1990Dec7.121658.25371@aplcen.apl.jhu.edu> Reply-To: rusbasra@mentor.cc.purdue.edu (Bob Rusbasan) Organization: Purdue University Lines: 40 In article <77197@iuvax.cs.indiana.edu> bobmon@iuvax.cs.indiana.edu (RAMontante) writes: >mlord@bwdls58.bnr.ca (Mark Lord) <5068@bwdls58.UUCP> : >| Here's a suggestion you may find convenient: >| >| Link the BGI files into the executable, so that the clock program becomes >| a fully self-contained module. This would make it easier for me to use, >| and perhaps some others as well. The Borland manuals explain how to do this, >| using BGIOBJ [corrected] to create cga.obj and egavga.obj, which are then >| linked along with the program into one happy executable. >Having been informed that I can link both .BGI files in, (and since I hope >to have a personal interest soon :-) I'll do that. Thanks, Timo. >The manual wasn't *that* clear... And be aware that it's not THAT easy. You may want to use the /f option of BGIOBJ, and you also have to "register" the modules within the C program. It does NOT work if you just like in the object files. >OS!" :-). Evidently this idea isn't very exciting to everybody else, >who keep telling me that I don't have to share the code, I can put a >separate copy into every program.... Is it that I'm hoarding disk space >more tightly than others, or does no one use enough of these graphics >files for it to matter? Or what? I personally use the BGI files and name the path when I'm developing something, but I link them it when I finish the program. For one thing, it looks more professional. For another, you can't count on everyone having the same directory for them, and people like to run things from directories that they're not currently, so the BGI files won't work well in that case. When people get the program, I think most of them would rather get fewer files too. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- / Bob Rusbasan | "So many pitchforks, so little hay." \ / bob@en.ecn.purdue.edu | - Old MacDonald in hell \ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-