Hi all, I am trying to bind wxSqlite3 to lua and do not know how to use exception in wxlua. wxSqlite3 has an exception class and in c++ the try catch exception. How can I use it in wxlua? Something translated like
local db=wxSqlite3DB()
db:Open(path)
x,y=db:ExecuteQuery(sql)
-- if x =nil then y contains error msg.
Can I I do it in wxlua binding r I have to manually code it in c++ using lua c api?
cheers
S.KIEU
On Yahoo!7
Socceroos Central: Latest news, schedule, blogs and videos.
_______________________________________________ Wxlua-users mailing list Wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users