Hi,
I'm a newbie to lua and wxlua (but an experienced - retired - software
developer). I have set up a test gui screen ok with wxlua and I'm now
attempting to add to my code by connecting to an sqlite database and displaying
a record. I'm using the sqlite.dll downloaded from
http://luaforge.net/frs/?group_id=12 as advised on the web page at
http://www.keplerproject.org/luasql/ . I have hunted around trying to find ways
of getting this to work (I can do it in 'straight' lua) - if I have the .dll in
my working directory and code require "sqlite3" I get the following
error :-
Error: Lua: Error while running chunk
error loading module 'sqlite3' from file '.\sqlite3.dll':
The specified procedure could not be found.
If I put sqlite3.dll in a sub folder called luasql and then require
"luasql.sqlite3" I get a windows message (I'm on Vista) saying :-
wxlua.exe has stopped working etc etc
This message appears half way through the gui being displayed.
As I said above - the same program works fine with "Lua for Windows", but I'd
prefer to use wxLua as I want to distribute programs to PCs without a full Lua
installation and wxLua appears to need a lot less files to be bundled with it
to run than 'straight' Lua!
Can anyone help please - am I missing files - have I got the folder structure
wrong - should I be using a different .dll etc?
If anyone knows of a really simple example on the web that would be great!
Thanks
Roger L
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users