View Full Version : lua wrapper for C/C++
reynoldlariza
03-13-2005, 04:00 PM
does anybody knows how do I incorporate lua into a C or C++ programs?
example:
lua.dll containing maybe an exported function that executes a lua scripts...
int luaScriptExecute(char *Filename);
I wanna do something like this :)
thanks :)
Ted Sullivan
03-13-2005, 05:46 PM
Take a look at the AutoPlay Media Studio 5.0 SDK. It contains quite a bit of information about Lua and C/C++. Going into a full discussion of embedding the Lua engine into your own applications isn't quite as simple as what you are proposing. It's a pretty big job to do it properly!
There is quite a bit of info at the LUA site.
http://www.lua.org
reynoldlariza
03-14-2005, 12:42 AM
Take a look at the AutoPlay Media Studio 5.0 SDK. It contains quite a bit of information about Lua and C/C++. Going into a full discussion of embedding the Lua engine into your own applications isn't quite as simple as what you are proposing. It's a pretty big job to do it properly!
Amazing! that's what i've been thinking! :)
I was thinking of embedding LUA as the engine too.
Ok as you advised, I will look into ths SDK :)
-----
After an hour of google(ing) I found several valuable links/informations too about Lua and how to use it and program with it.
I found this book
http://www.lua.org/pil/
very useful :)
and this one too for using Lua on C/C++ applications:
http://tonyandpaige.com/tutorials/
P.S. Since I'm already here, I like to propose a thread that contains collections of links and resources for LUA, which others may have.
We could use this thread if none objects ;) or anybody could make one
I'll always be visiting this forum for updates ;)
again, thank you very much for a very fast response ! :)
Check out http://www.icynorth.com
There are forums dedicated to LUA there too.
reynoldlariza
03-14-2005, 01:35 PM
the forum has the common questions with answers :)
thank you very much, i owe you ;)
Actually thank Brett from IR, that's his site and he runs the forums.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.