[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Bundling several Lua modules in one file
- From: "Jérôme Vuarand" <jerome.vuarand@...>
- Date: Tue, 3 Jun 2008 22:13:13 +0200
2008/6/3 Andreas Krinke <andreas.krinke@gmx.de>:
> Ico Doornekamp schrieb:
>
>> I implemented something like this some time ago, quite trivially. Just
>> create a loader for your archive format (I used .tar.gz) and add it to the
>> package.loaders table.
>
> Is it possible to load binary modules (*.so and *.dll) this way without
> extracting them to a location where the normal loader finds them?
AFAIK it is not possible to have Windows load a dll from memory. It is
of course possible to do the loading and dynamic linking manually, but
that's not an easy task. I don't know the situation for shared objects
on Linux or other operating systems.