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
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
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