[Wxlua-users] wxLua with wxSocket ReadMsg() problem and work around.

2006-08-01 Thread Steve Kieu
Hi everyone, I have problem when using wxSocket in wxLua, ReadMsg return some garbage at the end of the string. The senario is: c. WriteMsg(luastr, luastr:len()) s. ReadMsg(80) // 80 is assured to be much bigger than luastr:len() If using in C++ (wxWidgets) the buffer returned by ReadMsg (eve

Re: [Wxlua-users] wxLua with wxSocket ReadMsg() problem and work around.

2006-08-01 Thread John Labenski
Thanks! You're perfectly right about using LastCount(), in fact the wxWidgets docs even suggest that for the ReadMsg() function. -John Labenski On 8/1/06, Steve Kieu <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > I have problem when using wxSocket in wxLua, ReadMsg > return some garbage at the e

Re: [Wxlua-users] wxGrid cell renderer

2006-08-01 Thread John Labenski
On 8/1/06, Richard Simes <[EMAIL PROTECTED]> wrote: > Thanks for the tips, > > I think I'll be going with wxWidgets in C++, rather than wxLua as wxLua > seems to have a few memory leaks... > is this just my setup? What wxLua version are you using? > eg, the editor.wx.lua runs fine at first, but i