Mail Archives: djgpp/1997/09/29/16:01:38
Molnar Laszlo writes:
>According to my sources, there should be no problem. DJP always uses the
>information of the coff header. But decompressing is not recommended ;-)
Amendment: it doesn't actually seem to work at all! I originally tried
it on my machine at work and it seemed to be ok, but I must have done
something wrong or used an old version of DJP, because when I do it now,
even appending a single byte to a compressed executable causes a
horrible crash! This is using DJP 1.05, which I believe is the latest
version...
Glancing through the sources, I see you do a virus check in the stub
code. It seems likely that my appended data would trigger this, but if
so surely I ought to get an error message rather than a crash?
It is hardly a big deal: my appending code works fine as long as you
don't try to use it at the same time as DJP. But it would be even nicer
if both could be used: it would allow people to create a single
executable containing both compressed code and some compressed Allegro
data tacked on the end, while having full runtime control over which
parts of that data get loaded...
--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
Beauty is a French phonetic corruption of a short cloth neck ornament.
- Raw text -