Re: [Wxlua-users] wxLua Memory problem

2006-06-20 Thread Steve Kieu
<[EMAIL PROTECTED]>I believe it is a problem with the garbage collector of 5.1. I cannotseem to find a way to force it to do a GC on "dead" locals. ForexampleI think it is the problem with wxWidget. The similar test but in purely wxWidgets show the same symptoms, and the symtom goes away if I do

[Wxlua-users] Question about c++ Exception

2006-06-20 Thread Steve Kieu
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

Re: [Wxlua-users] Question about c++ Exception

2006-06-20 Thread Hakki Dogusan
Hi, Steve Kieu yazmış: 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)

Re: [Wxlua-users] Question about c++ Exception

2006-06-20 Thread John Labenski
On 6/20/06, Steve Kieu [EMAIL PROTECTED] wrote: 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()

Re: [Wxlua-users] wxLua Memory problem

2006-06-20 Thread John Labenski
On 6/20/06, Steve Kieu [EMAIL PROTECTED] wrote: I believe it is a problem with the garbage collector of 5.1. I cannot seem to find a way to force it to do a GC on dead locals. For example I think it is the problem with wxWidget. The similar test but in purely wxWidgets show the same

Re: [Wxlua-users] wxLua Memory problem

2006-06-20 Thread Steve Kieu
<[EMAIL PROTECTED]>Well, this points to luasql as being the culprit. What if you just addthe luasql files directly to your project instead of compiling it as aseparate lib?Actually the reason is a bit complex. First I can crash it without any db operation at all just open dialog and close it many