Yet another plugin reloader (VB, C++, HOTKEY, /xreload) |
Author: |
Message: |
TazDevil
Full Member
sleep(0);
Posts: 359 Reputation: 11
41 / /
Joined: May 2004
|
O.P. Yet another plugin reloader (VB, C++, HOTKEY, /xreload)
OK i have built another reloader, that
- hopefully will work around vb plugins correct unloading
- initiate plugin unload by "CTRL+F12" (it is the key below Esc on your keyboard)
- and traditional /xreload command
so now you can check/uncheck plugins from the plugins menu in plus! and have them removed or loaded instantly, without restarting messenger
plz try this and tell me if it works for you...
but i think it is pretty bug free...
I would like to know successes for vb plugin unloading ?
bye for now
[edit]
changed the HOTKEY
[edit 2]
customisable hotkey
Attachment: reloader.zip (4.74 KB)
This file has been downloaded 278 time(s).
This post was edited on 11-05-2005 at 05:32 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-05-2005 03:03 AM |
|
|
n0n4m3
Junior Member
Posts: 82
45 / /
Joined: Nov 2005
|
RE: Yet another plugin reloader (VB, C++, HOTKEY, /xreload)
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.
This post was edited on 11-05-2005 at 06:53 AM by n0n4m3.
|
|
11-05-2005 06:42 AM |
|
|
TazDevil
Full Member
sleep(0);
Posts: 359 Reputation: 11
41 / /
Joined: May 2004
|
O.P. RE: Yet another plugin reloader (VB, C++, HOTKEY, /xreload)
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
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-05-2005 08:21 AM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
Joined: Jul 2003
Status: Away
|
RE: Yet another plugin reloader (VB, C++, HOTKEY, /xreload)
quote: Originally posted by TazDevil
- initiate plugin unload by "CTRL+`" (it is the key below Esc on your keyboard)
I didn't tested out your plugin, so I don't know what you use, but that key is different in many many types of keyboard layouts! So make sure, if you use that, that it works with the hardware scancode of that button and not with the ascii code of the character!
This post was edited on 11-05-2005 at 11:10 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
11-05-2005 11:07 AM |
|
|
TazDevil
Full Member
sleep(0);
Posts: 359 Reputation: 11
41 / /
Joined: May 2004
|
O.P. RE: Yet another plugin reloader (VB, C++, HOTKEY, /xreload)
` quote: Originally posted by CookieRevised
quote: Originally posted by TazDevil
- initiate plugin unload by "CTRL+`" (it is the key below Esc on your keyboard)
I didn't tested out your plugin, so I don't know what you use, but that key is different in many many types of keyboard layouts! So make sure, if you use that, that it works with the hardware scancode of that button and not with the ascii code of the character!
Thank you Cookie for the clarification
I have tested the reloader with
NickChange Plugin 0.95 coded in C# and it worked like a charm
ColorNick v2 in VB and that worked fine as well
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-05-2005 01:21 PM |
|
|
n0n4m3
Junior Member
Posts: 82
45 / /
Joined: Nov 2005
|
RE: RE: Yet another plugin reloader (VB, C++, HOTKEY, /xreload)
quote: Originally posted by TazDevil
`quote: Originally posted by CookieRevised
quote: Originally posted by TazDevil
- initiate plugin unload by "CTRL+`" (it is the key below Esc on your keyboard)
I didn't tested out your plugin, so I don't know what you use, but that key is different in many many types of keyboard layouts! So make sure, if you use that, that it works with the hardware scancode of that button and not with the ascii code of the character!
Thank you Cookie for the clarification
I have tested the reloader with
NickChange Plugin 0.95 coded in C# and it worked like a charm
ColorNick v2 in VB and that worked fine as well
quote: Originally posted by TazDevil
`quote: Originally posted by CookieRevised
quote: Originally posted by TazDevil
- initiate plugin unload by "CTRL+`" (it is the key below Esc on your keyboard)
I didn't tested out your plugin, so I don't know what you use, but that key is different in many many types of keyboard layouts! So make sure, if you use that, that it works with the hardware scancode of that button and not with the ascii code of the character!
Thank you Cookie for the clarification
I have tested the reloader with
NickChange Plugin 0.95 coded in C# and it worked like a charm
ColorNick v2 in VB and that worked fine as well
I forget to metion that "CTRL+`" doesn't work here (I have the portuguese keyboard set on windows and even when I tried this with the english keyboard set, it didn't work).
The thing with plugin reload in c# is this: it perfectly reloads the plugin BUT since the file is ALWAYS locked you can't replace it with another version, so you are actually reloading the same version of the plugin but when developing you want to be able to test different versions.
|
|
11-05-2005 02:15 PM |
|
|
TazDevil
Full Member
sleep(0);
Posts: 359 Reputation: 11
41 / /
Joined: May 2004
|
O.P. RE: Yet another plugin reloader (VB, C++, HOTKEY, /xreload)
ok i have changed the hotkey to "CTRL+F12" that shouldnt cause any other locale keyboard problems...
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-05-2005 02:38 PM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
Joined: Jul 2003
Status: Away
|
RE: Yet another plugin reloader (VB, C++, HOTKEY, /xreload)
quote: Originally posted by TazDevil
ok i have changed the hotkey to "CTRL+F12" that shouldnt cause any other locale keyboard problems...
ermmm... it is with me... CTRL+F12 is a system wide shortcut I use as screenshot taker.
Point is: make it customizable to avoid all problems.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|
|
11-05-2005 03:24 PM |
|
|
TazDevil
Full Member
sleep(0);
Posts: 359 Reputation: 11
41 / /
Joined: May 2004
|
O.P. RE: Yet another plugin reloader (VB, C++, HOTKEY, /xreload)
ok cookie this is for u, enjoy
customisable hotkey
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-05-2005 05:33 PM |
|
|
Stigmata
Veteran Member
Posts: 3520 Reputation: 45
21 / /
Joined: Jul 2003
|
RE: Yet another plugin reloader (VB, C++, HOTKEY, /xreload)
quote: Originally posted by CookieRevised
ermmm... it is with me... CTRL+F12 is a system wide shortcut I use as screenshot taker.
ummm...
ctrl+prt src
?
|
|
11-05-2005 06:15 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|
|