This demo shows how to use exemod.pas to store
configuration data inside an exe instead of using
an ini file.

Only one parameter can be changed in this simple demo
and that is the position of the form. Clicking the 
[Update Exe With Position Data] button will store the
current position into the exe and restart it. The
new form position is now built into the exe itself :-)

If you click the [Lock Exe Position] button then the
current form position will be locked and the program
will no longer even display the 2 buttons.

To restore the 2 buttons just double-click the form.
(of course you would leave out this ability if you
want a permanent lock on updates of the form position)

You can store a huge amount of config data into the exe
using ExeMod.pas... If you need to store config data on
program shutdown then see the shutdown demo on my website.

If you need to scramble the data then do a simple XOR
routine or use a fast stream cipher like RC4 :-)