What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » My Plugin isn't recognized!!!

My Plugin isn't recognized!!!
Author: Message:
desert_eagle_8
New Member
*


Posts: 4
Joined: Apr 2006
O.P. My Plugin isn't recognized!!!
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?
04-09-2006 09:18 AM
Profile E-Mail PM Find Quote Report
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
RE: My Plugin isn't recognized!!!
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?
04-09-2006 11:11 AM
Profile E-Mail PM Find Quote Report
desert_eagle_8
New Member
*


Posts: 4
Joined: Apr 2006
O.P. RE: My Plugin isn't recognized!!!
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
04-09-2006 04:14 PM
Profile E-Mail PM Find Quote Report
Plik
Veteran Member
*****

Avatar

Posts: 1489
Reputation: 46
34 / Male / –
Joined: Jun 2004
RE: My Plugin isn't recognized!!!
Do you return true on Initialise?

And also have you tried checking the box next to Nickname Changer and restarting messenger?
04-09-2006 04:18 PM
Profile PM Find Quote Report
desert_eagle_8
New Member
*


Posts: 4
Joined: Apr 2006
O.P. RE: My Plugin isn't recognized!!!
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,
04-09-2006 04:37 PM
Profile E-Mail PM Find Quote Report
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
RE: My Plugin isn't recognized!!!
What exact registry key are you adding?
04-09-2006 06:32 PM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: My Plugin isn't recognized!!!
As it's a C++ plugin, you don't need to do anything with the Registry.
[Image: spartaafk.png]
04-09-2006 06:48 PM
Profile PM Web Find Quote Report
desert_eagle_8
New Member
*


Posts: 4
Joined: Apr 2006
O.P. RE: My Plugin isn't recognized!!!
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
04-09-2006 07:07 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: My Plugin isn't recognized!!!
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...

This post was edited on 04-09-2006 at 07:16 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
04-09-2006 07:15 PM
Profile PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: My Plugin isn't recognized!!!
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.
[Image: spartaafk.png]
04-10-2006 11:57 AM
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