Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!utkcs2!andrew From: andrew@.cs.utk.edu (Andrew Krzywdzinski) Newsgroups: comp.sys.atari.st.tech Subject: Location of variables in executable files. Message-ID: <1990Nov11.013428.4566@cs.utk.edu> Date: 11 Nov 90 01:34:28 GMT Sender: news@cs.utk.edu (USENET News System) Organization: Univ of TN, Knoxville - CS Department Lines: 17 Originator: andrew@menkar.cs.utk.edu I want to be able to write setup information directly to a program file. (This has been done in several applications -- ARCSHELL 2.1 is one example). I figure that I will have to mess with the Getmpb procedure, as well as the structure of the executable files, to find out where a variable "lives" on the disk file. Alas, the documentation for that stuff is *very* unrevealing, and I don't want to resort to trial & error. I would really appreciate any suggestions, example code (C please!), or at least a pointer to a book (he he) which carries such information. Please e-mail to andrew@cs.utk.edu. Thank you so much. -andrew krzywdzinski 1732 Laurel Ave. Knoxville, TN 37916