lua-users home
lua-l archive

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


On Wed, Jun 1, 2011 at 11:51 AM, Shmuel Zeigerman <shmuz@013net.net> wrote:
> It works for me but I wonder if it just by chance. For example, if a script
> require()'s 'mylib' and mylib.dll was built with the dependency on
> lua5.1.dll, then how exporting Lua symbols by SciTE helps?

That is one of those things that can end in tears ;)  Especially if
SciTE and lua5.1.dll were linked against different runtimes. For Lua
for Windows, we factored out SciTE's Lua so that it also used
lua5.1.dll.

Otherwise you would have to compile the module against SciTE itself to be sure.

This kind of thing tends to be easier on Unix, where a Lua module
isn't looking for a _particular_ named library for the symbols.

steve d.