Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!uunet!indetech!vsi1!hsv3!jls From: jls@hsv3.UUCP (James Seidman) Newsgroups: comp.os.msdos.programmer Subject: Linking binary data into MSC/MASM programs Message-ID: <7431@hsv3.UUCP> Date: 27 Feb 91 16:45:58 GMT Reply-To: jls@hsv3.UUCP (James Seidman) Organization: Video Seven / Headland Technology Lines: 21 I'm writing a program which needs access to some large (8K-32K) chunks of data. These data are produced by other programs and wind up in data files. I'm currently just reading the data in from these files at run time, but would really like to able to link them into my main program. I could theoretically write a program (call it BIN2DB) which would take my binary file and make a huge masm file with a bunch of DB directives in it, but this seems like a real pain. What would be really perfect would be to have a utility (say BIN2OBJ) which would turn my file into a Microsoft OBJ with a public symbol at location 0. Then I could very easily access the data from inside my program. Has anyone tried anything like this? Or does someone have alternate suggestions? Thanks in advance! -- Jim Seidman (Drax), the accidental engineer. "It doesn't have to work... they'll be paralyzed just from laughing at me." - Dr. Who, _Shada_ UUCP: ames!vsi1!hsv3!jls INTERNET: hsv3.UUCP!jls@apple.com