   Problem with  LuaInterface
  Hey all,I'm trying to set up my scripting environment with Lua, and I'm coming up with an error I understand, but don't know how to solve. In my Init.lua script, I have the line:require ('luanet')so that I can import the necessary .net assemblies etc.  However, when I try to run my script from my game it throws an exception with the message:error loading module 'luanet' from file 'C:/Program Files/Lua/5.1/clibs/luanet.dll':%1 is not a valid Win32 application.I am confused by this, as I've had a small test application running that interfaced fine, and I haven't changed anything in the C:/Program Files/Lua/5.1/clibs directory since then.  Also, if I run Init.lua directly from SciTE, the lua editor I'm using, it works fine with no errors.  I would appreciate any help with this, as it's got be stumped.Thanks,Wibbs   
  Hmmmm,Well I seem to have fixed it by removing the require line altogether, and it still seems to understand luanet.load_assembly but I have no idea...   ;  Hello, it seems init code already takes care of this for you:LuaInterface/Lua.cs;Quote:Original post by Wibbsrequire ('luanet')Just an unimportant little bit of picky info: In lua, if the only argument to a function is a literal string or table constructor, no need for parens!require 'luanet'lua is really neat like that. Have fun!BTW, this is not whats causing the problem and will not fix it   