lua-users home
lua-l archive

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




Fabio Mascarenhas wrote:
Go to Debug->Exceptions and uncheck the LoaderLock under "Managed
Debug Exceptions", the error message should go away. You need the Lua
for Windows version of LuaInterface instead of the managed 2.x version
if you want to require standard Lua C modules like LuaSQL, so you
going at it the right way. :-)

--
Fabio Mascarenhas


Good Evening,

I tried this and I did get a bit further, but now I am getting:

Unable to load DLL 'luanet.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)

So it appears that the luaInterface.dll attempts to load luanet.dll - but I am not sure why that is failing.

Refresher: I am using luaInteface.dll from Lua For Windows from a .NET 2008 CSharp program. This exception is occurring when I attempt to instantiate a luaInterface object.

Any ideas?

Thanks
Terry