Embedding lua in my C# application : require "luainterface" fails -


i downloaded newest version of luainterface site, , referenced luainterface.dll , lua51.dll. interpreter works fine, when try require("luainterface"), exception :

error loading module 'luainterface' file '.\luainterface.dll': specified procedure not found. 

here's example code produces behavior :

    static void main(string[] args)     {         lua lua = new lua();         lua.dofile("test.lua");     } 

the test.lua script has :

luanet = require("luainterface"); 

also, i've made sure lua_path points luanet.dll is.

what problem?

for .dll's looked in lua_cpath in case... http://www.lua.org/manual/5.1/manual.html#pdf-package.cpath


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -