Coming from
the REXX tutorials thread,
[...]I found out that it's possible to recover code from DrDialog applications alongside the resources.
Ok, we've known that for a long time, but how to calculate the length of each resource and extract them. A problem with resmgr/rdc is the extra bytes added that cause certain files to be unusable.
[...]
Tame/2, Inieditor and other software written with DrDialog where source code may only exist in the executable may be recovered if one want to rewrite/improve/fix them.
The docs in
Tame/2 1.05 (2008) say tame.exe was rebuilt from the source provided by Goran Ivankovic himself so no problem there I guess, and I don't know of any other DrDialog applications that might fall into that category, so
IniEdit (2001) it is because I'd really like to see it improved a little bit at some point. We'll use it as an example of getting back 'sources' from the final EXE in case you lost the original DrDialog stuff. However, I'll stick to enabling this project practically, and leave contacting the original author up to you.
Now, this wasn't particularly difficult, so unless you want to discuss technical details, I will skip them for now and just attach here a mini-tool and a recipe to extract the stuff you need (not really rexx source, but a DrDialog 'blob' which it can read and present as REXX bits correctly associated with windows and events, all ready to work on it again):
-Take iniedit.exe from the IniEdit distribution archive (link above).
-Extract resource number 1 with the command "resmgr -x iniedit.exe 1 iniedit.bin"
-Use ByteOff (attached) to get back the original DrDialog 'blob'. Command: "byteoff iniedit.bin iniedit.res 12 0". Compare with the attached iniedit.res.
-Optional: give iniedit.res the "DrDialog.RES" file type.
-Open iniedit.res from DrDialog.
-Enjoy!