Article View: comp.sys.ibm.pc
Article #8170Modifying .exe files
From: Clayton Collie
Date: Wed, 06 Dec 1989 00:03
Date: Wed, 06 Dec 1989 00:03
19 lines
1365 bytes
1365 bytes
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
Technical Details
Message-ID:
<32336@auc.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!psuvax1!brutus.cs.uiuc.edu!usc!samsung!emory!auc!cacReferences:
<1989Dec1.215634.666@kadsma.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!psuvax1!brutus.cs.uiuc.edu!usc!samsung!emory!auc!cac From: cac@auc.UUCP (Clayton Collie) Newsgroups: comp.sys.ibm.pc Subject: Modifying .exe files Keywords: configuration Message-ID: <32336@auc.UUCP> Date: 6 Dec 89 00:03:51 GMT References: <1989Dec1.215634.666@kadsma.uucp> Reply-To: cac@auc.UUCP (2-Clayton Collie) Distribution: usa Organization: Atlanta University Center Lines: 19