连续执行luaL_dofile 报错问题

  • 本帖最后由 naoh2006 于 2012-7-2 13:52 编辑 *

我在executeScriptFile加载文件后执行了一些lua文件中的方法然后又用executeScriptFile方法加载另一个lua文件然后会报 attempt to call a string value的错误但是完全可以运行,这是什么问题?这个是类似c++中的警告吗?我用的windows vs2010平台