Debug and plugin reload with MSN Messenger API

Hello,
I'm creating a MSN plugin using MSN Messenger API and MsgPlus API in C# and there are two things that frustrating me: debug and plugin reload.

Is there a way to reload a plugin in C# Although I can reload it making a call to msgplus like this:
int msg = RegisterWindowMessage("MessengerPlus_PluginChange");
int retVal = SendMessage(0xffff, msg, 0, 0);
but i can never change the plugin.dll file since it's always in use by msnmsgr.exe.
(vb.net also has the seems to have the same problem, at least that's what I read in msgplus foruns, everything else isn't locked this way and files can be replaced easily.)

What's the best way for debugging  didn't figure a way to attach to the debugger or set any break points. Is the only method trial and error

Thank you,
Ricardo Sabino.



Answer this question

Debug and plugin reload with MSN Messenger API

  • RaviKanthReddy

    Messenger Plus! Live does not support the plugins anymore, and I guess you are talking about Add-Ins. Those are not related to the plus plugins, so if you are facing problems with them, please start a new thread and describe exactly what you mean.
  • Haider Ali Khan


    Hi,

    I'm Having exactly the same problem, without using Messenger Plus, so the question is still open...
    The MSN API mentions two registry keys to add in order to use a debugger, but it doesn't work. Where should I create them exactly

    regards,

    Dams

  • Rahim2

    This discussion should be taken over to the Messenger Plus! web site.  The APIs and behaviors you are asking about are not supported by MSN.  You'll need to talk to the Messenger Plus! guys to get help with this.

     -Scott

  • i3tech

    Well, the thing is that I think this has something to do with msn messenger instead of the Messenger Plus! plugin (because the dll stays attached to msnmsgr.exe instead of msgplus.exe as I explained in the other post), that's why I posted here.

    Also, there are some threads/posts talking about this and one of them is this one: http://www.msghelp.net/showthread.php tid=32468&pid=316566

    Quoting someone of that thread:
    "This is how MSN Messenger (not exactly Plus!) deals with hooked VB DLLs and currently there is no workaround, so sorry "

    Since this is a post from 2004, I decided to post here since supposedly this has something to do with MSN Messenger.


  • ArthurDent

    You're talking about Messenger Plus! Plugins. Messenger Plus! is a third party addon for MSN Messenger by Patchou, not by Microsoft. Therefor I advise you to look for an answer at the official Messenger Plus! Community Forums, located at http://www.msghelp.net.


  • Debug and plugin reload with MSN Messenger API