Jesse Nesbitt wrote:
Hey all,
I'm having some trouble with using an onChat method. It fires
correctly (I know because I have it display a message box), but I
can't get it to add anything to a listbox or textbox. Is this due to
some threading issue?
Thanks in advance.
--Jesse
Events can fire in rapid succession or simultaneously, so depending how
your code is setup this could cause an issue. If you look at the
slaccountant code there is an example of using a Mutex to lock the
ListView control while searching for names. Try stepping through with a
debugger, or have the message box display the chat line you want to
output and see if multiple message boxes are popping up at the same
time, and if they contain the text you want. Also, try adding something
to the listbox/textbox at the startup of your app to make sure your
appending code is correct.
John
_______________________________________________
libsecondlife-dev mailing list
libsecondlife-dev@gna.org
https://mail.gna.org/listinfo/libsecondlife-dev