lua-users home
lua-l archive

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


> When I run lua.exe, it doesn't use the dll that's in the directory.
> I'm using the prebuilt package from LuaForge
> (http://luaforge.net/frs/download.php/3134/lua5_1_3_Win32_bin.zip).  I
> discovered this when I ran lua.exe on a fresh install of Windows XP.

That's because the DLL search order looks for a DLL in the executable
directory before looking in the current working directory. See the link
below:

http://msdn.microsoft.com/en-us/library/ms682586.aspx