[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to execute C/C++ code from Lua?
- From: Rob Hoelz <rob@...>
- Date: Fri, 1 Oct 2010 10:11:51 -0500
Welcome to Lua!
http://www.lua.org/pil/
Check out Part IV. Please keep in mind that this is PiL for Lua 5.0;
you can buy the book for 5.1, though. 5.0 and 5.1 aren't much
different, but you'll want to call luaL_openlibs instead of
luaopen_base and friends.
-Rob
On Fri, 1 Oct 2010 20:32:39 +0530
Abhijit Bhattacharya <abhijitbh1979@gmail.com> wrote:
> Hi frnds,
>
> I am very new to Lua. So I am struggling to find how to run C /C++
> functions from Lua.
>
> Can I create a dll using VS2008 and run the functions of that dll from
> Lua? If so how.
>
> Thanks in advance for any help in this regard.
>
> Regards,
> Abhijit
>
Attachment:
signature.asc
Description: PGP signature