|
#1
|
||||
|
||||
|
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
|
|
#2
|
||||
|
||||
|
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!
__________________
Check out the new MSI Factory 2.0! |
|
#3
|
|||
|
|||
|
#4
|
||||
|
||||
|
Quote:
![]() 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 I'll always be visiting this forum for updates again, thank you very much for a very fast response !
|
|
#5
|
|||
|
|||
|
#6
|
||||
|
||||
|
the forum has the common questions with answers
![]() thank you very much, i owe you |
|
#7
|
|||
|
|||
|
Actually thank Brett from IR, that's his site and he runs the forums.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming in Lua - "...the beginning" | Intrigued | Developer's Den | 5 | 08-06-2006 07:31 AM |
| Free Online Book: Programming in Lua | Brett | AutoPlay Media Studio 5.0 | 8 | 01-24-2006 08:46 PM |
| Excellent, Free Lua Code Editor | Brett | General Chat | 4 | 03-14-2005 12:48 AM |
| Lua Users - don't forget this valuable site - Intrigued | Intrigued | AutoPlay Media Studio 5.0 | 0 | 01-07-2005 02:31 PM |
| Lua and VC++ | Eltari13 | Developer's Den | 2 | 10-17-2004 10:10 AM |
All times are GMT -6. The time now is 02:20 PM.









Linear Mode

