Stability problem with DisplayToast() function - 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) +----- Forum: Plug-Ins (/forumdisplay.php?fid=28) +------ Thread: Stability problem with DisplayToast() function (/showthread.php?tid=48047) Stability problem with DisplayToast() function by KooKiz on 07-25-2005 at 08:42 AM
Hi, like a few one start to know, I'm creating a plugin to read rss feeds (in visual basic.net). code: If I put a Msgbox before and after the displaytoast call, only the one before is displayed. I've checked the variables I used to call DisplayToast, but there is nothing special in it. So, do anyone ever got the same problem ? Can a messenger plus developper tell me if that's really the DisplayToast function which is making my plugin freeze ? Since I don't have the function's source code, I can't do anything more than ask :/ RE: Stability problem with DisplayToast() function by KooKiz on 07-31-2005 at 01:22 PM
I've done some test, and that's definitely a messenger plus's bug. When that starts to happen, messenger hangs on no matter what I ask it to display with Displaytoast(). Restarting msgplus doesn't change anything, I must reboot to (sometimes) solve the problem, or just wait for a long time. RE: Stability problem with DisplayToast() function by KokiriChild on 10-04-2005 at 05:22 PM
I have exactly the same problem, as soon as I do a DisplayToast() function MSN freezes =( RE: Stability problem with DisplayToast() function by (CyBeRDuDe) on 10-04-2005 at 08:25 PM
I can confirm that I had this same exact problem when creating plugins.. Was really annoying.. Though the exact same plugin that were hanging on me didn't always hang on others... And also sometimes it seems to be "Random" times it does it.. That means if it starts doing it, it can be stopped by a restart, other times a restart doesn't help.. At one point I really had problems with it hanging.. All the time... So.. Because of this I really hate using the DisplayToast() Function... RE: Stability problem with DisplayToast() function by Patchou on 10-04-2005 at 09:02 PM Thanks for reporting. Can you please email me with your plugin source code (if that's ok with you) so that I can work on a sollution with you (mplus@patchou.com)? also, please specify is Messenger hangs always before or after displaying the popup. RE: Stability problem with DisplayToast() function by KokiriChild on 10-05-2005 at 07:35 AM
quote: Mine's in VB too, although mine is a total complete freeze, only way to resolve is to kill MSN and restart it. Source code on the way Patchou! Thanks! - KokiriChild RE: Stability problem with DisplayToast() function by CookieRevised on 10-05-2005 at 02:40 PM
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)... RE: Stability problem with DisplayToast() function by Patchou on 10-05-2005 at 04:52 PM
I'm very sure my VB code sucks, I'm just not a VB developer. However, you have to also realise that I need to somehow connect to my C++ program and send unmanaged data like structures. It creates ugly VB code but at least, it works the way I want it to work . Of course, if you know other methods to do the same thing better, I'll be glad to replace my file with your modified one . RE: Stability problem with DisplayToast() function by KooKiz on 10-13-2005 at 08:51 AM
Sorry I didn't participate to that topic, I've lost my connection for many months. |