On 4/28/07, Kees Jongenburger <[EMAIL PROTECTED]> wrote:

I have seen the calculator sample that exactly  what made me go "OK
lets look into this"
This is why i spent a little more time getting things working.
Here is what happened. Of course I did not read the documentation
and after building wxLua I went to the samples directory I saw
that the files had a lua extension so I assumed I could run them
from the command line by using the lua command. That did not work
for all only luamodule.wx.lua worked. So I stated adding

package.cpath =

";;../lib/?.so;../lib/vc_dll/?.dll;../lib/bcc_dll/?.dll;../lib/mingw_dll/?.dll;"
require("wx")

and
wx.wxGetApp():MainLoop()


This is incredible. I didn't know you could do that. That would be a great
example to have as well.

to all the samples really thinking it was kind of weird that the
samples did not work
and I assumed them to be outdated. Of course the best thing is to blame me
for
not being smart :p but this was my first encounter with wxLua(just so
you know , perhaps just adding a bit of documentation inside the
samples telling how to run them would be enough)
, I did not know at that point that there  was a wxlua command. I
think my sample make sence.
I would be willing to create a few sample usages of the same sample
(embeded , stantalone running with lua and running with wxlua) I would
have given me a hint on how to use wxLua.


I think more examples that are small and to the point would really help me
to learn the power of wxLua.
--
Regards,
Ryan
RJP Computing
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to