lua-users home
lua-l archive

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


I'm working on using lua for a demosystem and I was thinking about a
pluginsystem using dll's (windows platform) to add lua functions.

Basicly what I am thinking about is to have LoadLibrary (windows function
to runtime load a dll) accessable from lua and have a DllMain in such a dll
that makes new C functions available in lua. Thus you can write the
following script:


functionFromPlugin2("This is a plugin example!");

Is there anybody that has already written something like this for windows?
is it available from anywhere?

Thanks in advance,

Jeroen Janssen