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
> 
> Sorry, I didn't fully explain.  The latest build of the Lua interpreter
> up on LuaForge doesn't run on a fresh install of Windows XP because it
> cannot find the required Microsoft runtime DLL.  As far as I can tell,
> the DLL that's part of the package is never used.

Now I get it. Can't help you then because I already have the DLL on my
system, sorry.