Shoutbox

VB Plugin, Installing ... - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: VB Plugin, Installing ... (/showthread.php?tid=14353)

VB Plugin, Installing ... by Snakerboy on 08-10-2003 at 10:04 PM

Right i think ive finished this vb plugin however im having some issues "installing it", i tried using that auto installer but i cant get it working.

But that can wait i just wanna test it out, so ive finished the dll what do i need to do to get it working,

dont point me to the info that came with the SDK i woulent be here if i hadent read it, Any help would be great :D


RE: VB Plugin, Installing ... by Choli on 08-10-2003 at 10:32 PM

Copy your plugin to the <Msg Plus folder>\Plugins folder and restart Messenger. Your plugin will be loaded by Plus and you're ready to test it. If you don't wan't to restart Messenger, make a program that executes

code:
Const HWND_BROADCAST As Long = &HFFFF&
PostMessage HWND_BROADCAST,  _
    RegisterWindowMessage("MessengerPlus_PluginChange"), _
    0, 0

and wait 5 seconds.

I think that the info that comes with the example plugins is very easy...
RE: VB Plugin, Installing ... by Snakerboy on 08-10-2003 at 10:57 PM

and if i make it with C++ i dont have to do that part right?

yea the example is ok, what about this regkey i need to add?


RE: VB Plugin, Installing ... by Choli on 08-10-2003 at 11:06 PM

Oh sorry, I forget the reg key. What i posted is for both C++ and VB plugins. But for VB you also have to add some stuff to the registry:
In the branch HKEY_LOCAL_MACHINE\SOFTWARE\Patchou\MsgPlus2\RegisteredPlugins you have to add a string key like "My VB plugin"="VBplugin.Class"
Read the readme that comes with the examples and you'll understand better:

quote:
When installing a Visual Basic plugin, you are required to create a
special value in the registry to let Messenger Plus! know that it
has to load your DLL. Placing it in the Plugins directory will not
be enough. Here is the value you have to create:
  Key: HKEY_LOCAL_MACHINE\SOFTWARE\Patchou\MsgPlus2\RegisteredPlugins
  Value Name: any name you want to identify your plugin
  Value data: VB object identifier (ProgID)
The object identifier is the name of your project, a dot and the
name of your class. For example, the identifier for the VB sample
distributed in this API package is "MPPlugin.Sample".


RE: VB Plugin, Installing ... by Snakerboy on 08-10-2003 at 11:10 PM

righto, cheers for that.


RE: VB Plugin, Installing ... by HDC on 08-11-2003 at 11:12 PM

Uhm i know this DjMystic guy has done quite some wrong :dodgy: (at least, thats what i read here),
but he did leave some cool stuff, I didn't make any plugins yet (haven't been able to get some good ideas),
but http://shoutbox.menthix.net/showthread.php?tid=14183 seems to have some good reviews from users
according to patchou it works for C++ and VB plugins, so give it a try i'd say ;)

PS Don't blame me for bringing back DjMystics topics, i know some people got banned for doing that, but i just reffered to something usefull, and it's coincidence he made it


RE: VB Plugin, Installing ... by surfichris on 08-14-2003 at 01:38 PM

Hi DJM.. Thanks for visiting, you are now banned again :)


RE: RE: VB Plugin, Installing ... by Choli on 08-14-2003 at 04:47 PM

quote:
Originally posted by Chris Boulton
Hi DJM.. Thanks for visiting, you are now banned again :)

How did you know HDC was DJM? By the IP?
RE: VB Plugin, Installing ... by surfichris on 08-15-2003 at 03:16 AM

No, he is using a proxy.. I will not explain why except for *cough*Anonymous tip off*.


RE: VB Plugin, Installing ... by dotNorma on 08-15-2003 at 03:55 AM

HDC..... wonder what that stood for.......