0

I am a complete "noob" to C#, however I do know some C, although that is a good start, it's not enough. I have downloaded the most recent version of LuaInterface, and the download in cluded two files: lua51.dll, and LuaInterface.dll. I cannot figure out how to use this in my C# project, and be able to run Lua within it. If anyone can help, it would be great. Please don't use a very complicated explanation if you can. Thanks!

Sam H
  • 956
  • 4
  • 16
  • 24

2 Answers2

1

Right click on the project and select add reference. Then select the browse tab and select the dll's from their respective directories.

Skyrim
  • 865
  • 5
  • 6
0

You need to add references to the dlls. Note I had trouble getting the lua interface working for .net 4.0 and x64 machines. I had to download the source and recompile it myself. You can find the source here: http://www.lua.org/ftp/

Axis
  • 826
  • 7
  • 22