lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, Apr 3, 2010 at 6:10 AM, Andre Leiradella
<aleirade@sct.microlink.com.br> wrote:
> And then in your code you can open the DLL as a regular file, locate the
> archive at the end and read from it. To locate the archive one usually
> writes its size at the end of the DLL and perform some seeks to locate its
> beginning:

lhf's srlua uses a similar trick to make standalone Lua executables -
the script is appended to the binary.

steve d.