Hello.
I'm having the same problem.
I have find a solution that seems to work correctly.
Use:
or
This last is the same as the code for the function CheckString(). But its work and If I use the function not work.
I'm having the same problem.
I have find a solution that seems to work correctly.
Use:
Local MyString:String = luaL_checkstring( scriptEnv.m_lua_state, 1)
or
Local MyString:String = String.FromCString(luaL_checkstring(scriptEnv.m_lua_state, 1))
This last is the same as the code for the function CheckString(). But its work and If I use the function not work.