[Lazarus] Extracting a resource from an exe file & adding it back in

waldo kitty wkitty42 at windstream.net
Mon Oct 17 16:28:48 CEST 2011


On 10/15/2011 10:48, Hans-Peter Diettrich wrote:
> Reinier Olislagers schrieb:
>> I want to give users an editor to edit a text file inside helped.zip &
>> save the changes back to the executable.
>
> You'll run into a couple of problems:
>
> - An executable cannot update itself (at runtime).

why not? i have several projects that are in line to be ported to FPC/Lazarus... 
they store certain config values within them which are read and altered on each 
execution... why can we not do this now? what is missing??

> - A resource editor or compiler tool is needed, which may not be available on
> every platform.
> - The user must have write permissions for the executable file.





More information about the Lazarus mailing list