lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


the same dll file, and the same script, but my wxlua program crashes when the mouse hover on the *any* window that shows on screen :-(.

but the script acts great on other guys computer.

hope anybody knows how this happened...  I use Windows XP and Lua For WIndows 5.1..

btw, how to debug thus crash in windows?

the script:

require "wx"

frame = nil
function main()
    frame = wx.wxFrame( wx.NULL, wx.wxID_ANY, "wxLua",
                        wx.wxDefaultPosition, wx.wxSize(450, 450),
                        wx.wxDEFAULT_FRAME_STYLE )

    panel = wx.wxPanel(frame, wx.wxID_ANY)
    frame:Show(true)
end

main()

wx.wxGetApp():MainLoop()