[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: luaconf.h patch for the Borland/CodeGear compiler
- From: "Leonardo Maciel" <leonardo@...>
- Date: Thu, 15 May 2008 11:19:02 -0300
> 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