Exe embedded data file and, Icon personalisation.

Discussion in 'Questions (Windows Mobile)' started by dan kabestan, Jan 14, 2008.

  1. dan kabestan

    dan kabestan Member Licensed 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.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Embedding data in the executable file is currently not supported. It will be in the future.
    Changing the icon is done by choosing File - Choose Icon.
     
  3. Leginus

    Leginus Member Licensed 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
     
  4. dan kabestan

    dan kabestan Member Licensed 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 !
     
Loading...