Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Embed Source Code in EXE
#6
(10-20-2024, 09:58 AM)SMcNeill Wrote: On Discord, we were talking about various things (as usual -- all you guys are invited to join us there!), and the topic came up about how to retrieve the source code from the EXE. 
I have seen this before, it is a ...
(10-20-2024, 12:23 PM)bplus Wrote: What are some uses of this? I can think that you might want to compare the EXE source with other .bas sources to see maybe which the EXE came from? I doubt I guessed main use. Smile
... self-extracting archive.

Back in the MSDOS/pre-Windows 3.1 days, i.e. the mid 1980s until the 1990s, someone got the idea of saving disk space - it was very expensive back then (I bought a large-capacity hard drive around then, and had to max out my credit card to afford the $401 (plus tax, call it another $20), and got a massive capacity 80 MB drive.) Well, then they started including other files in with applications to be distributed. Which brings up a chicken-and-egg problem, how do you unpack the archiving/unarchiving program when you don't have an unarchiver? So, there was invented the "self-extracting archive" unpacking stub program. It was attached to the front of the archive and the archive extension was changed to .exe. The stub code would unpack the archive into its component files.

"And everything old is new again."
While 1
   Fix Bugs
   report all bugs fixed
   receive bug report
end while
Reply


Messages In This Thread
Embed Source Code in EXE - by SMcNeill - 10-20-2024, 09:58 AM
RE: Embed Source Code in EXE - by bplus - 10-20-2024, 12:23 PM
RE: Embed Source Code in EXE - by TDarcos - 10-20-2024, 06:11 PM
RE: Embed Source Code in EXE - by SMcNeill - 10-20-2024, 01:59 PM
RE: Embed Source Code in EXE - by madscijr - 10-21-2024, 08:27 PM
RE: Embed Source Code in EXE - by bplus - 10-20-2024, 03:55 PM
RE: Embed Source Code in EXE - by SMcNeill - 10-20-2024, 06:04 PM
RE: Embed Source Code in EXE - by JRace - 10-20-2024, 08:41 PM



Users browsing this thread: 2 Guest(s)