Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rutgers!njin!njitgw!mars.njit.edu!cd5340 From: cd5340@mars.njit.edu (David Charlap) Newsgroups: comp.lang.pascal Subject: Re: putting bitmaps in .exe file Message-ID: <2536@njitgw.njit.edu> Date: 6 Mar 91 21:10:33 GMT References: <2859@beguine.UUCP> Sender: news@njitgw.njit.edu Organization: New Jersey Institute of Technology Lines: 18 In article <2859@beguine.UUCP> Dan.Bjorklund@samba.acs.unc.edu (Dan Bjorklund) writes: > > I'm looking for a way to put a series of bitmaps that my Turbo program uses in the .exe file >so that the program doesn't need to have lots of external files. Is there >an easy way to do this? Well, the BINOBJ utility will make the bitmaps into .OBJ files, which can be linked, but I'm not sure if you can do anything with them once they're in that form. I think Turbo would assume them to be program and not data. Of course, since you declare a "procedure" name to any object you create with BINOBJ, you could reference the data through a pointer to it. For example, if you named the object "fred", then "@fred" would be a pointer to the first byte in "fred". -- David Charlap "Invention is the mother of necessity" cd5340@mars.njit.edu "Necessity is a mother" Operators are standing by "mother!" - Daffy Duck