What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Stability problem with DisplayToast() function

Stability problem with DisplayToast() function
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Stability problem with DisplayToast() function
I didn't try this, but instead of using the SendMessage API, try to use the PostMessage API. SendMessage works syncronical, PostMessage asyncronical. In English this means that SendMessage doesn't return immediatly and waits for the call to finish (hence a possible freeze/delay if something went wrong with the called function), PostMessage doesn't wait and returns immediatly... See MSDN library... (all this is just theory, didn't tried it out yet. Furthermore, this wont solve the actual possible bug in the plugin API of Plus!, but it is a way to avoid freezing)...

PS: Patchou, about the VB example source in the plugin docs, it can be made much shorter, faster and more ermmm... "according to the proper VB programming rules" (It contains a lot of redundant code and isn't such a great example of proper efficient programming in VB so to speak; aka can teach bad practices to beginners)

This post was edited on 10-05-2005 at 02:45 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-05-2005 02:40 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Stability problem with DisplayToast() function - by KooKiz on 07-25-2005 at 08:42 AM
RE: Stability problem with DisplayToast() function - by KooKiz on 07-31-2005 at 01:22 PM
RE: Stability problem with DisplayToast() function - by KokiriChild on 10-04-2005 at 05:22 PM
RE: Stability problem with DisplayToast() function - by (CyBeRDuDe) on 10-04-2005 at 08:25 PM
RE: Stability problem with DisplayToast() function - by Patchou on 10-04-2005 at 09:02 PM
RE: Stability problem with DisplayToast() function - by KokiriChild on 10-05-2005 at 07:35 AM
RE: Stability problem with DisplayToast() function - by CookieRevised on 10-05-2005 at 02:40 PM
RE: Stability problem with DisplayToast() function - by Patchou on 10-05-2005 at 04:52 PM
RE: Stability problem with DisplayToast() function - by KooKiz on 10-13-2005 at 08:51 AM


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