This demo demonstrates how to add images (jpegs) to a dll and then
display them at runtime.

There is a small toolbar demo called toolbar.exe included in this
package (5kb)... it depends upon a tiny (4kb) dll called toolbar.dll to function.
I have added a small 10kb jpeg to this dll already... so you can display it immedialtely
by clicking the button labeled

[Get the jpg from the dll and display]

and you will see the image appear... the toolbar.exe program can be running and you
can still load the image from its dll... the program loads it even though the toolbar
program has attempted to open the dll exclusively.

You can click the button labeled

[Select a jpg and add it to the dll]

and select a new jpg to replace the one already loaded into toolbar.dll
BUT you cannot update the dll if toolbar.exe is running! a dll cannot be
updated if it is loaded into ram already! so update your dll's with new data before
a program loads them up :-)

(actually you could update a running dll...but you would have to write directly to
the disk sectors that hold it's image.. and it's troublesome to do that)

You can add any number of jpg images to a dll... just give them all unique names.

..Gwen..

p.s. By the way this demo contains a version of ExeMod.pas that is different from the
current version that is at Torry's page

http://www.torry.net/vcl/vcltools/codertools/exemod.zip

This version contains some new code that is slated for the next release... this demo
requires this code so don't compile this demo using an old version of exemod.pas or it
will fail!