lua-users home
lua-l archive

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


On Sun, Dec 11, 2011 at 12:35 PM, Lorenzo Donati
<lorenzodonatibz@interfree.it> wrote:
>>> LUA_LLE_FLAGS=LOAD_WITH_ALTERED_SEARCH_PATH
> BTW, I think this will be a fairly common option for Windows users, thus
> wouldn't it be better to place it in luaconf.h or at least to mention its
> existence in a more visible place, such a Windows configuration section in
> the readme?

Last time I looked into it [1], I still wasn't completely satisfied
with it.  For example, 'LoadLibraryEx triggering undefined behavior
with LUA_LLE_FLAGS=LOAD_WITH_ALTERED_SEARCH_PATH and relative paths
like package.cpath=".\\?.dll"'.

[1] http://lua-users.org/wiki/LoadLibrary