quote:
Originally posted by n0n4m3
Hi,
it seems to work fine here
I'd like to ask you if it's possible to just unload a plugin and then load it again manually. I want something like this because I'm writing a plugin in C#/.net but my plugin.dll file is locked and I can't replace it with a newer version (only if I close msn). I checked who's accessing the dll and it's msnmsgr.exe so it doesn't seem like a msgplus problem, either way, it was nice that I knew a way of releasing the dll so I could overwrite it.
Thank you,
Ricardo Sabino.
As it is now it is not possible to do it manually, per plugin i mean because plus! is responsible to do all the cleaning up, especially regarding loaded COM plugins.
So you are saying me that the reloader does not work with c# plugins... (Hmm i thought that C# used the same interface as VB plugins, but apparently its not the case, i just checked)
OK, some things you should consider, is that the plugin is loaded by Plus! in the msnmsgr.exe process, and is being used by Plus!, not msnmsgr as there are still active references to that plugin, so it could not be automatically removed...
By this i mean that, you should release any references of other COM objects in your project so that when it is not still in use it can be unloaded.
Of course i dont know anything about how C# works but the basic theory is the one above.
I have a VB .NET plugin the one made by patchou but i havent been able to load it in plus so i could check