|
Ingo Hohmann wrote:
But here's my problem:(import "lua5.1.dll" "lua_open")import function not found in function import : "lua_open" Now, without lua_open it seems hard to go any further. Do you have any idea what might be happening?
In Lua 5.1 lua_open is just a macros (see reference manual [http://www.lua.org/manual/5.1/manual.html#7.3] for details), it is defined in lua.h for compatibility
#define lua_open() luaL_newstate() so you need to import luaL_newstate instead... -- e.v.e