| View previous topic :: View next topic |
| Author |
Message |
SephZero
Joined: 29 Apr 2006 Posts: 5
|
Posted: Fri May 19, 2006 7:44 am Post subject: LUA strings in my C program... |
|
|
Hi dudes..you're master..so i hope u can help me..
i have to do something like this..
i've written a program in C language..
now..if i press X i would to run the code of a .lua file that i have..how could i do it? |
|
| Back to top |
|
 |
dot_blank

Joined: 28 Sep 2005 Posts: 498 Location: Brasil
|
Posted: Fri May 19, 2006 8:06 am Post subject: |
|
|
more description is one thing you could do :P _________________ 10011011 00101010 11010111 10001001 10111010 |
|
| Back to top |
|
 |
Gary13579
Joined: 15 Aug 2005 Posts: 93
|
Posted: Sat May 20, 2006 5:59 am Post subject: |
|
|
Grab the LuaPlayer source code, make sure you can compile that, add all of the libs into your Makefile, copy over the source folder and rename it to "lua" in your project, and just find the function that runs Lua programs. Edit that to load a file from the MS, and take the filename from a C source.
Should be semi-easy. |
|
| Back to top |
|
 |
|