What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » crash on closing chat window (WLM9)

crash on closing chat window (WLM9)
Author: Message:
Suxsem
Junior Member
**


Posts: 66
Joined: Mar 2008
O.P. RE: crash on closing chat window (WLM9)
news!
code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MsgKind){
if(Message=="ok"){
Interop.Call("user32", "SendMessageW", ChatWnd.Handle, 0x0111, 40003, 0);
}
}
=CRASH

code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MsgKind){
if(Message=="ok"){
wnd = ChatWnd
MsgPlus.AddTimer("ok",2000)
return ""
}
}

function OnEvent_Timer(TimerId){
Interop.Call("user32", "SendMessageW", wnd.Handle, 0x0111, 40003, 0);
}
=WORK!

i think...the return is send before chat windows is closed... and that causes crash...
02-03-2009 12:24 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
crash on closing chat window (WLM9) - by Suxsem on 02-02-2009 at 07:23 PM
RE: crash on closing chat window (WLM9) - by matty on 02-02-2009 at 07:32 PM
RE: crash on closing chat window (WLM9) - by Suxsem on 02-02-2009 at 11:05 PM
RE: crash on closing chat window (WLM9) - by matty on 02-03-2009 at 12:03 AM
RE: crash on closing chat window (WLM9) - by Suxsem on 02-03-2009 at 12:07 PM
RE: crash on closing chat window (WLM9) - by Suxsem on 02-03-2009 at 12:24 PM
RE: crash on closing chat window (WLM9) - by Mnjul on 02-03-2009 at 12:33 PM
RE: crash on closing chat window (WLM9) - by Suxsem on 02-03-2009 at 02:33 PM
RE: crash on closing chat window (WLM9) - by Mnjul on 02-03-2009 at 02:45 PM
RE: crash on closing chat window (WLM9) - by Suxsem on 02-03-2009 at 03:08 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On