Shoutbox

Error in ChatWnd.SendMessage(); - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Error in ChatWnd.SendMessage(); (/showthread.php?tid=89874)

Error in ChatWnd.SendMessage(); by Rohiaw on 03-25-2009 at 06:19 PM

Hey guys, I'm gettin an error when i try to send a message.
When i use this in my code: "ChatWnd.SendMessage(massMsg);", i get this debug error: 'ChatWnd' is undefined.
wtf??

error code: -2146823279

am i doing something wrong??

thanks. :D


RE: Error in ChatWnd.SendMessage(); by mynetx on 03-25-2009 at 06:27 PM

ChatWnd is not a constant, but a reference to an actually existing Chat Window.