What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Unload Plus! Plugin DLL's in VB

Unload Plus! Plugin DLL's in VB
Author: Message:
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
O.P. Unload Plus! Plugin DLL's in VB
is it possible to use the MessengerPlus_PluginChange command to unload the plugins from VB?

Ive tried, but with no luck.

It's for the installer for Screenshot Sender 3.


Cheers


Dempsey :D
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
02-12-2004 04:12 PM
Profile E-Mail PM Web Find Quote Report
optimism_
Senior Member
****

Avatar
Ctrl+Alt+Del - Tragically l337

Posts: 521
Reputation: 8
38 / Male / –
Joined: Jul 2003
RE: Unload Plus! Plugin DLL's in VB
just send the message to plus to reload the plugins via the VB SendMessage equivilent using the win32api or whatever - source code in the plus plugins api readme file
HTTP 404 - Signature Not Found
02-15-2004 07:18 PM
Profile E-Mail PM Web Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
21 / Other / Flag
Joined: Jul 2003
RE: Unload Plus! Plugin DLL's in VB
where is the reference to plus?
02-15-2004 07:51 PM
Profile PM Web Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
43 / Male / Flag
Joined: Jan 2003
RE: Unload Plus! Plugin DLL's in VB
quote:
Originally posted by Dempsey
is it possible to use the MessengerPlus_PluginChange command to unload the plugins from VB?
Well, it should work, however I've had that problem too. It seems that plus doesn't unload VB plugins. I think that's due to the way they have to be loaded. The only way I know to delete a VB .dll plugin is closing messenger (and maybe plus too, I don't remember know).
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
02-15-2004 08:04 PM
Profile PM Find Quote Report
optimism_
Senior Member
****

Avatar
Ctrl+Alt+Del - Tragically l337

Posts: 521
Reputation: 8
38 / Male / –
Joined: Jul 2003
RE: Unload Plus! Plugin DLL's in VB
its the messenger exe that locks the dll files, so you dont need to close plus!, only messenger
HTTP 404 - Signature Not Found
02-16-2004 11:15 AM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Unload Plus! Plugin DLL's in VB
Can't you unregister them by using the win API? like regsrv32 does?
.-= A 'frrrrrrrituurrr' for Wacky =-.
02-16-2004 06:57 PM
Profile PM Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
43 / Male / Flag
Joined: Jan 2003
RE: Unload Plus! Plugin DLL's in VB
quote:
Originally posted by CookieRevised
Can't you unregister them by using the win API? like regsrv32 does?
Yes, you have to do that (regsrv32 /u <name>.dll), but messenger keeps it loaded in memory until you close it.
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
02-17-2004 08:22 AM
Profile PM Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: Unload Plus! Plugin DLL's in VB
I have this problem too...Closing Messenger seems to be the only way...

May Patchou solve this? :S
02-20-2004 04:09 PM
Profile PM Web Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
43 / Male / Flag
Joined: Jan 2003
RE: Unload Plus! Plugin DLL's in VB
quote:
Originally posted by Mnjul
I have this problem too...Closing Messenger seems to be the only way...

May Patchou solve this? :S
I don't think there's anything he can do. Although a DLL from Plus is who loads the VB DLL, that DLL (the one of Plus) is executed from the Messenger process, ie: from the view of Windows, it is Messenger who loads the VB DLL and, due to the special way the VB DLLs have to be loaded (because they aren't a "standar" DLL), that's why it isn't unloaded until Messenger ends.

I can be wrong (I'd wish) but I don't think so.
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
02-20-2004 05:23 PM
Profile PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Unload Plus! Plugin DLL's in VB
Yeah, the VB DLL loading procedure is fickle like that. I've found that VB itself can also register the DLLs: I used to build my plugins outside of the Plus! directory, but after finding out what VB does, I build them straight in the Plus! directory now.
To be fair, my experience with VB DLLs is limited, but what I have experienced has given me a valuable insight to how Windows works (or doesn't in some cases).
[Image: spartaafk.png]
02-21-2004 04:40 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


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