[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Binary Modules for Lua [was Re: External modules]
- From: Ignacio Castaño <castanyo@...>
- Date: Fri, 22 Nov 2002 19:13:25 +0100
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
require
> 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
castanyo@yahoo.es
_______________________________________________________________
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis!
Descárgalo ya desde http://messenger.yahoo.es