Indigo Rose Software
  #1  
Old 03-13-2005
reynoldlariza's Avatar
reynoldlariza reynoldlariza is offline
Forum Member
 
Join Date: Jan 2005
Posts: 4
Talking lua wrapper for C/C++

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
Reply With Quote
  #2  
Old 03-13-2005
Ted Sullivan's Avatar
Ted Sullivan Ted Sullivan is offline
Indigo Rose Staff Member
 
Join Date: Oct 2003
Posts: 825
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!
Reply With Quote
  #3  
Old 03-13-2005
Worm Worm is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: USA
Posts: 3,937
There is quite a bit of info at the LUA site.

http://www.lua.org
Reply With Quote
  #4  
Old 03-14-2005
reynoldlariza's Avatar
reynoldlariza reynoldlariza is offline
Forum Member
 
Join Date: Jan 2005
Posts: 4
Talking

Quote:
Originally Posted by Ted Sullivan
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 !
Reply With Quote
  #5  
Old 03-14-2005
Worm Worm is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: USA
Posts: 3,937
Check out http://www.icynorth.com

There are forums dedicated to LUA there too.
Reply With Quote
  #6  
Old 03-14-2005
reynoldlariza's Avatar
reynoldlariza reynoldlariza is offline
Forum Member
 
Join Date: Jan 2005
Posts: 4
the forum has the common questions with answers
thank you very much, i owe you
Reply With Quote
  #7  
Old 03-14-2005
Worm Worm is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: USA
Posts: 3,937
Actually thank Brett from IR, that's his site and he runs the forums.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software