Exe embedded data file and, Icon personalisation.

dan kabestan

Member
Licensed User
Longtime User
Is there any way to generate an standalone executable with its embedded
(included) data ressource-base file ? for example in a "zipper" tool project,
or some resident "on picture" action tool project.
Is there any way to personalise the compiled application icon and the shortcut one ?
Thanks for help.
 

Leginus

Member
Licensed User
Longtime User
You could do this by writing to your exe file in binary.

Find the length of your exe file, then store your resources at the end. You will have to have certain byte positions that store the filename and resource size but it can be done. The first routine in your exe needs to extract the resource. once loaded, delete the resource.

I will try to find my old basic code which did this but it would need converting to basic4ppc.

I forgot to say, the code to write the resource to your exe has to be separate program
 

dan kabestan

Member
Licensed User
Longtime User
Thanks for answers.

I see, a small "binary-cook" is actually the best way to make a ressource included standalone exe.
I will search the internal branch solution. All old script-piece regarding that are welcome !
 
Top