On 6/21/06, Steve Kieu <[EMAIL PROTECTED]> wrote:
> You may get my work from: http://www.dynaset.org/dogusanh
> Thanks ; will try later. At the moment I use SendError() in wxLuaState to
> send lua error event and capture it in an event handler which seems to work
> fine as well. However wxSQLite3 (or maybe sqlite3) is so pedantic about
> errors, many sql errors it does not throw exception at all but crash. with
> the message Aborted . Some errors are reported though but kind of table not
> exists or field name not exist, it just crash the whole app. Not quite sure
> if your binding shows this symptom? I got it even use wxSQLite3 alone in c++
> code as well.

As a side note, I've removed wxLuaState::SendError in the latest
version since I didn't think anyone used it and IIRC it was only used
by one, maybe two functions in wxLua so I thought it was a little
overkill. Use the code below in the future.

wxLuaEvent event(wxEVT_LUA_ERROR, wxlState.GetId(), wxlState);
event.SetString(errorMsg);
event.SetInt((int)line);
wxlState.SendEvent(event);

Regards,
    John Labenski

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wxlua-users mailing list
Wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to