Xref: utzoo comp.sys.ibm.pc:39428 comp.lang.pascal:2792 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!psuvax1!brutus.cs.uiuc.edu!samsung!emory!auc!cac From: cac@auc.UUCP (Clayton Collie) Newsgroups: comp.sys.ibm.pc,comp.lang.pascal Subject: Modifying .exe files Keywords: configuration Message-ID: <32337@auc.UUCP> Date: 6 Dec 89 00:07:54 GMT References: <1989Dec1.215634.666@kadsma.uucp> Reply-To: cac@auc.UUCP (2-Clayton Collie) Distribution: usa Organization: Atlanta University Center Lines: 19 I've been working on a fairly large project ( written with TP 5.5 ) and I'm currently trying to devise a configuration routine (or file) for the program. I'm curious to find out if anyone on the net has any experience writing configuration programs that modify the actual program executable e.g. the Tinst.exe utility that comes with the Turbo package. As far as I've gotten is to generate a map file listing the program variables and constants along with their segments and offsets. I figure that by using this information could seek to that particular location in the .exe and place the appropriate value at that point. Is this incredibly difficult ? Any pointers would be appreciated. BTW - answers don't necessarily have to be TP (or Pascal) specific. ----- THANX ------- Clayton Collie