What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » NickChange Plugin

NickChange Plugin
Author: Message:
TazDevil
Full Member
***

Avatar
sleep(0);

Posts: 359
Reputation: 11
40 / Male / Flag
Joined: May 2004
RE: NickChange Plugin
hey J-Thread
i have an article for you to study about C# plugins although i dont understand much of it, cause i dont have time to learn how C# works, so, i thought to pass it on to you, you should understand better...

Anyways, in this article it says that
quote:
Does your app need to unload or reload plug-ins while it's running? Does your app need to control the security access that plug-ins have to files and other resources? If you answer yes to either question, you'll need AppDomains.

In the .NET Framework, there's no way to directly unload an assembly. The only way is to load the assembly into a separate AppDomain, then unload the whole AppDomain. Each AppDomain can also have its own security permissions. AppDomains provide a processing unit with the isolation usually afforded by separate processes, without the overhead, and multiple AppDomains can exist within the same process. AppDomains are typically used in server apps, where the server runs 24/7 or nearly so, and needs to load and unload components on the fly without restarting. AppDomains are also used to limit the permission that plug-ins are granted, so that an application can load untrusted components without fear of them doing something malevolent. To enable this isolation, using multiple AppDomains requires remoting; objects in different AppDomains can't call each other directly, they must be marshaled across the AppDomain boundary. In particular, shared instances of classes must derive from MarshalByRefObject.

So right now heh you cannot unload/reload C# plugins unless you build them in such a way and Plus is developed in such a way

And i would suggest to you to work with Patchou and pass this article to him, if the implemetation of this kind works, maybe you could work it out ;)

Check the article here, and tell me if it works for you....
Article Link

Also read http://blogs.msdn.com/jasonz/archive/2004/05/31/145105.aspx
That probably could be linked to why you cant load more than 1 C# plugin...

Wierd enough your dll doesnot show in the loaded modules list althought the actual plugin is loaded in plus! Only the .Net framework files are loaded ...

This post was edited on 11-06-2005 at 10:53 PM by TazDevil.
Window Manager is discontinued, for WLM try the new,
Enhancer for contact list docking, auto-hide, hide taskbar button, remove button flashing and remember keyboard layout in conversation windows
11-06-2005 10:41 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
NickChange Plugin - by J-Thread on 10-05-2005 at 11:29 AM
RE: NickChange Plugin - by Supersonicdarky on 10-05-2005 at 11:32 AM
RE: NickChange Plugin - by [MR] on 10-05-2005 at 11:38 AM
RE: NickChange Plugin - by L. Coyote on 10-05-2005 at 01:32 PM
RE: NickChange Plugin - by J-Thread on 10-05-2005 at 02:57 PM
RE: NickChange Plugin - by L. Coyote on 10-05-2005 at 03:11 PM
RE: NickChange Plugin - by remkot on 10-05-2005 at 03:24 PM
RE: NickChange Plugin - by J-Thread on 10-05-2005 at 03:29 PM
RE: NickChange Plugin - by remkot on 10-05-2005 at 04:50 PM
RE: NickChange Plugin - by CookieRevised on 10-05-2005 at 04:57 PM
RE: NickChange Plugin - by remkot on 10-05-2005 at 05:02 PM
RE: NickChange Plugin - by J-Thread on 10-10-2005 at 10:47 AM
RE: NickChange Plugin - by remkot on 10-10-2005 at 03:09 PM
RE: NickChange Plugin - by n0n4m3 on 11-06-2005 at 06:01 AM
RE: NickChange Plugin - by J-Thread on 11-06-2005 at 07:31 AM
RE: NickChange Plugin - by n0n4m3 on 11-06-2005 at 02:12 PM
RE: NickChange Plugin - by J-Thread on 11-06-2005 at 02:34 PM
RE: NickChange Plugin - by TazDevil on 11-06-2005 at 10:41 PM
RE: RE: NickChange Plugin - by n0n4m3 on 11-06-2005 at 11:20 PM
RE: NickChange Plugin - by TazDevil on 11-06-2005 at 11:34 PM
RE: NickChange Plugin - by n0n4m3 on 11-06-2005 at 11:45 PM
RE: NickChange Plugin - by Lou on 11-07-2005 at 12:07 AM
RE: RE: NickChange Plugin - by n0n4m3 on 11-07-2005 at 01:01 AM
RE: RE: NickChange Plugin - by J-Thread on 11-07-2005 at 08:19 AM
RE: RE: RE: NickChange Plugin - by n0n4m3 on 11-07-2005 at 03:06 PM
RE: NickChange Plugin - by TazDevil on 11-07-2005 at 06:51 PM
RE: NickChange Plugin - by J-Thread on 11-07-2005 at 06:55 PM
RE: NickChange Plugin - by TazDevil on 11-07-2005 at 07:04 PM
RE: NickChange Plugin - by J-Thread on 11-07-2005 at 07:46 PM
RE: RE: NickChange Plugin - by zejeske on 06-10-2011 at 09:04 PM
RE: NickChange Plugin - by Spunky on 06-10-2011 at 09:23 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