Shoutbox

Help.. Please? - 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: Help.. Please? (/showthread.php?tid=28468)

Help.. Please? by piepiepie on 07-10-2004 at 10:20 PM

Ok.. I'm a good programmer.. I know how to program in VB proficiently and multiple other languages.. anyway..

I created a plugin for myself (in VB), created the DLL, moved it into the plugins folder, registered the DLL, registered the plugin.. I've done everything I should have, all (at as far as I know) sucessfully.. except MSG Plus doesn't show the plugin in its plugin menu, and the commands dont do jack (the usual messagebox pops up.. "this is not a command yadda yadda"), yet the DLL is in use.. can anybody give me any advice as to what might be causing msg plus not add it?


RE: Help.. Please? by Choli on 07-10-2004 at 10:25 PM

You forgot to add an entry in the registry the Plus needs for VB/VB.NET/C# plugins ;). Read more info about it in the readme of the APIs of Plus documentation: http://www.msgplus.net/help_plugins.php

Good luck and welcome to the foums :wave:


RE: Help.. Please? by piepiepie on 07-10-2004 at 10:27 PM

I have done.. thats what i meant by registering the plugin


RE: Help.. Please? by Choli on 07-10-2004 at 10:31 PM

quote:
Originally posted by piepiepie
I have done.. thats what i meant by registering the plugin
oh sorry, i didn't know that ;)

did you try to restart messenger or send the MessengerPlus_PlugingChange message? do you return true after processing a command/tag in ParseCommand/ParseTag functions? (<- I think so, but just in case)
RE: Help.. Please? by piepiepie on 07-10-2004 at 10:39 PM

yup :(


RE: Help.. Please? by Choli on 07-10-2004 at 10:43 PM

^o) that's weird....

do you do dodgy things in the plugin (like trying to create a new thread, using dodgy APIs, using timers, using the Messenger API, or similar)?

Have you tried the example plugin in VB? does it work?

What versions of windows, messenger and plus do you have?


RE: Help.. Please? by piepiepie on 07-10-2004 at 10:49 PM

As far as i know i don't do anything dodgey.. just call a couple of custom functions during the command parsing function.

I havent tried the example plugin.. i guess i should give that a try now.

and Windows XP Professional with MSN 6.2.0133, MSG Plus! 2.54.75

hmm.. I thought i had the most up to date msg plus.. I'll give the sample plugin a try and download the most up-to-date version msg plus and get back to you, I appreciate the help :)


RE: Help.. Please? by Millenium_edition on 07-10-2004 at 10:57 PM

You know the string in the registry, the actual object, like "MyPlugin.MyPluginClass", try using createobject on it (in a seperate project). Also make sure your product has a name in the Initialize function etc.


RE: Help.. Please? by Choli on 07-10-2004 at 10:59 PM

ok, no problem. Be sure you update to plus 3.01.94 beofre doing anuthing else ;)





edit:

quote:
Originally posted by Millenium_edition
You know the string in the registry, the actual object, like "MyPlugin.MyPluginClass", try using createobject on it (in a seperate project).
what?
RE: Help.. Please? by piepiepie on 07-10-2004 at 11:06 PM

hm... it seems the sample plugin doesnt work either :S and yeah, i can CreateObject it without getting any errors..

maybe its just the version of msg plus im running.. i sure hope so. anyway, ive got 80% of the newest one downloaded so i'll soon see.


RE: Help.. Please? by Millenium_edition on 07-10-2004 at 11:10 PM

choli, programming in VB


RE: RE: Help.. Please? by piepiepie on 07-10-2004 at 11:12 PM

quote:
Originally posted by Choli
ok, no problem. Be sure you update to plus 3.01.94 beofre doing anuthing else ;)





edit:

quote:
Originally posted by Millenium_edition
You know the string in the registry, the actual object, like "MyPlugin.MyPluginClass", try using createobject on it (in a seperate project).
what?



since the plugin DLL is an ActiveX thingy, and its been registered with regsrv32, you can use:

dim oObject as object
set oObject = createobject("projectname.classname")

in another program, and it will create an object of that activeX.. just as you would with the MSN objects, WScript, or whatever else. if you get errors, you know that you either havent registered the DLL right, or you have the projectname/classname wrong.
RE: Help.. Please? by piepiepie on 07-10-2004 at 11:17 PM

Ah.. hehe, it just needed a higher version of msg plus! to work.. *feels like a fool*

heh, nevermind.. thanks for your help anyway :)


RE: Help.. Please? by Choli on 07-11-2004 at 11:47 AM

quote:
Originally posted by piepiepie
since the plugin DLL is an ActiveX thingy, and its been registered with regsrv32, you can use:

dim oObject as object
set oObject = createobject("projectname.classname")

in another program, and it will create an object of that activeX.. just as you would with the MSN objects, WScript, or whatever else. if you get errors, you know that you either havent registered the DLL right, or you have the projectname/classname wrong.
ah, i see; i thought you meant in the same DLL, where you don't need to do that , hehehe, i was an other program where you do that to test the dll; it's ok :P
quote:
Originally posted by piepiepie
Ah.. hehe, it just needed a higher version of msg plus! to work.. *feels like a fool*

heh, nevermind.. thanks for your help anyway
nice to see that it works with plus 3:D; however i don't see why it didn't work with 2.54.75 :-/