1. Compile Lua as a static connection libLua.lib
2, use liblua.lib, write a C program, explain the execution Lua script
3. Add a DELAY script function, use the SLEEP implementation, sample scripts: demo.lua
The execution file is Lualearning.exe, drag and drop the .lua file to the LuALEARNING.EXE icon, or use the command line "Lualearning XXX.lua"
Example engineering source code:
http://www.nhvideo.net/codes/lualearning.rar