From: s0052mol AT ural2 DOT vsz DOT bme DOT hu (Molnar Laszlo) Newsgroups: comp.os.msdos.djgpp Subject: Re: Appending data to executables? Date: 29 Sep 1997 15:24:39 GMT Organization: Technical University of Budapest Lines: 14 Distribution: world Message-ID: <60oh7n$lpm$1@goliat.eik.bme.hu> References: <342C5B94 AT relay DOT probe DOT co DOT uk> NNTP-Posting-Host: ural2.hszk.bme.hu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hargreaves, Shawn (shawnh AT probe DOT co DOT uk) wrote: : : A simple question for anyone who knows about this: are there any gotchas : that I should be aware of when appending binary data onto the end of a : djgpp executable? It seems to work quite happily, but is there any danger : of this upsetting the stub in some way? What about if the file is : compressed with DJP? (as long the data is appended after the compression : is done, it seems to work ok, but I'm very suspicious of this :-) According to my sources, there should be no problem. DJP always uses the information of the coff header. But decompressing is not recommended ;-) Laszlo