Hi Paul, Thank you for your reply. I think this is not the same case.My problem is that lualanes creates a completely new lua_State running in a separate thread and a call to require on wx returns lua_getglobal(L, "wx"); which is nil in that new lua_State. The other part in luaopen_wx is not called because s_wxlState is a static wxLuaState so !s_wxlState.Ok() fails because is was inited in a pevious lane (lua_State) So I can require it any lane I want but only on one.
The strange other problems I had seem to be a lualanes issue which I solved as I explained in my last email. And I am still not being able to compile with SHARED=0. Best Regards Victor Bombi ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users