Shoutbox

My Plugin isn't recognized!!! - 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: My Plugin isn't recognized!!! (/showthread.php?tid=58051)

My Plugin isn't recognized!!! by desert_eagle_8 on 04-09-2006 at 09:18 AM

Hello Everybody.

I used Dev-C++4.9.9.2 to realize my plugin.  To do it, I used a plugin which works (MPPluginC.Cpp) and I just some parts of the code.  I compile it with none error.

The problem is that the MPPluginC works (he is recognized by MSN) but not my plugin, called NickNameChanger.

Is someone coud help me?


RE: My Plugin isn't recognized!!! by J-Thread on 04-09-2006 at 11:11 AM

Tell us...what exactly did you do to install your plugin?

In what directory is it, have you added something to the register, runned some other commands?


RE: My Plugin isn't recognized!!! by desert_eagle_8 on 04-09-2006 at 04:14 PM

I copy my plugin, the .dll file, in the directory \MessengerPlus! 3\Plugins and i add in the register the name of the plugin (what it is view with msn) and the name of the file.

When I open msn, in the plugin option (my plugin is called Nickname Changer), I see
Not Loaded: Nickname Changer


RE: My Plugin isn't recognized!!! by Plik on 04-09-2006 at 04:18 PM

Do you return true on Initialise?

And also have you tried checking the box next to Nickname Changer and restarting messenger?


RE: My Plugin isn't recognized!!! by desert_eagle_8 on 04-09-2006 at 04:37 PM

For initialize, i return true (and it is the only thing there is in my code for this function).

When I check the box and i restart msn, the box is unchek when i'm going to see in plugin option.

If you want, i can attach the code source.  It will maybe be easier for you,


RE: My Plugin isn't recognized!!! by J-Thread on 04-09-2006 at 06:32 PM

What exact registry key are you adding?


RE: My Plugin isn't recognized!!! by RaceProUK on 04-09-2006 at 06:48 PM

As it's a C++ plugin, you don't need to do anything with the Registry.


RE: My Plugin isn't recognized!!! by desert_eagle_8 on 04-09-2006 at 07:07 PM

if i don't do anything whit the registry, there are nothing in the plugin option in msn.  In registry, i put the following line:
Nickname Changer     REG_SZ     NickNameChanger.dll


RE: RE: My Plugin isn't recognized!!! by CookieRevised on 04-09-2006 at 07:15 PM

quote:
Originally posted by desert_eagle_8
if i don't do anything whit the registry, there are nothing in the plugin option in msn.  In registry, i put the following line:
Nickname Changer     REG_SZ     NickNameChanger.dll
Which is not what you need to add though....

A stated in the official plugin documentation:

The name of the key is the string you want to be shown in Plus! plugin preferences window.

But more importantly (and what you did wrong) the value must be the name of your project (thus as set in your project properties) followed by a dot and the class object which contains the Plus! functions.

Thus the value is not the filename of your DLL. But is determined by stuff you've set in your project.

;)

-----------

This said, I don't know if you need to specify all this at all, since it is in Dev-C++.... The registry adding is only requirement for ActiveX DLL's (VB DLL's) and .NET stuff...
RE: My Plugin isn't recognized!!! by RaceProUK on 04-10-2006 at 11:57 AM

quote:
Originally posted by desert_eagle_8
if i don't do anything whit the registry, there are nothing in the plugin option in msn
I'm guessing it's a COM DLL then.

Since it's a C++ DLL, why use COM? Just do it all native.