lua-users home
lua-l archive

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

Peter Loveday wrote:
> Hmm, another question; what is the proposed means of an extension calling
> lua library functions?
> On windows it is not possible to treat an executable as a DLL, symbols can
> not be exported from an exe.  Various ways that have been suggested are to
> pass a huge struct of callbacks containing each lua function, or to
> the actual Lua interpreter to be in a DLL.
> Just wondering how you were looking at solving this problem?

Currently, I'm static linking my modules against lua. I think that you can
have an exe that exports symbols, but I may be wrong... The most obvious
solution is to build the lua libraries as a dll and link the modules and the
binaries against it.

Ignacio Castaño

Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde