Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!crdgw1!crdos1!davidsen From: davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) Newsgroups: comp.sys.ibm.pc Subject: Re: Modifying .exe files Keywords: configuration Message-ID: <1874@crdos1.crd.ge.COM> Date: 6 Dec 89 18:56:00 GMT References: <1989Dec1.215634.666@kadsma.uucp> <32336@auc.UUCP> Distribution: usa Organization: GE Corp R&D Center, Schenectady NY Lines: 12 Reply-exos:@crdgw1:To: davidsen@crdos1.crd.ge.com (bill davidsen) You have the right idea on how to modify the contents of an exe, but you may want to give up a little performance for simplicity and ease of change by going to an external configuration file. Commercial programs do both things, pick a paradigm which pleases you and go for it. Remember that things like exepack and axe modify the file while leaving it executable, and that may move your target in the image. -- bill davidsen (davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen) "The world is filled with fools. They blindly follow their so-called 'reason' in the face of the church and common sense. Any fool can see that the world is flat!" - anon