5

I know how to load a C library from Lua:

 -- Lua
 require("your_dll_name");

 // C
 extern "C" __declspec(dllexport) LUALIB_API int luaopen_your_dll_name(lua_State *L) {...}

But is it possible to load .net libraries from Lua?

sibvic
  • 1,622
  • 2
  • 12
  • 19

1 Answers1

2

LuaInterface is a library for integration between the Lua language and Microsoft .NET platform's Common Language Runtime (CLR). Lua scripts can use it to instantiate CLR objects, access properties, call methods, and even handle events with Lua functions.

gwell
  • 2,695
  • 20
  • 20
  • Thank you for the link. It seems software which uses Lua scripts should support LuaInterface in order to load .net dll from Lua. – sibvic Dec 10 '10 at 10:04