What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » write plugin that runs on msn messenger directly / microsoft's policy

write plugin that runs on msn messenger directly / microsoft's policy
Author: Message:
bschiett
New Member
*


Posts: 3
Joined: Jun 2005
O.P. write plugin that runs on msn messenger directly / microsoft's policy
hi all,

i've been using msn messenger for a while to chat with my friends. I recently became interested to develop an add-on to msn messenger, but I have never used messenger plus and I thought I could just find all the info I needed in Microsoft's MSDN library online. I looked a the messenger API there but I don't understand it : does microsoft allow other people to write plugins for msn messenger / windows messenger or not at all? I read something about the API being locked and you need to request an ID or something. If this API is closed and microsoft does not allow other people to write plugins, how was messenger plus designed such that it can sit on top of windows messenger or msn messenger? I could of course just create a messenger plus plugin but I'm not sure how many people are actually using it, compared to the total msn messenger users, and how many users are using windows messenger just plain. I would like my plugin to work on all variations of messenger.

thanks in advance!

bert
06-04-2005 06:25 PM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: write plugin that runs on msn messenger directly / microsoft's policy
The Messenger API Type Library documented on MSDN is publicly available, and there are functions that allow the use of this API. Plus manages to do what it does by non-standard means as far as I can tell, which is why it can do more than seems immediately possible.
[Image: spartaafk.png]
06-04-2005 07:47 PM
Profile PM Web Find Quote Report
bschiett
New Member
*


Posts: 3
Joined: Jun 2005
O.P. RE: RE: write plugin that runs on msn messenger directly / microsoft's policy
quote:
Originally posted by raceprouk
The Messenger API Type Library documented on MSDN is publicly available, and there are functions that allow the use of this API. Plus manages to do what it does by non-standard means as far as I can tell, which is why it can do more than seems immediately possible.


thanks for the info. but how does messenger plus install itself into the menu of msn messenger, for example? what are the limits roughly of the standard messenger api and are there any tutorials on how to use it?

This post was edited on 06-05-2005 at 12:22 AM by bschiett.
06-05-2005 12:21 AM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: write plugin that runs on msn messenger directly / microsoft's policy
Ah, the Messenger API isn't quite what you're looking for here. Unless you want to catch the creation of conversation windows, which in that case I recommend you take a look at http://www.rpsoftware.net/tutorials.php?page=events.
As for adding the menu, you'll need to centre that code around a call to InsertMenu(). The MSDN Library has fullinfo on InsertMenu(), and it should be easy to find.
[Image: spartaafk.png]
06-05-2005 07:33 AM
Profile PM Web Find Quote Report
bschiett
New Member
*


Posts: 3
Joined: Jun 2005
O.P. RE: RE: write plugin that runs on msn messenger directly / microsoft's policy
quote:
Originally posted by raceprouk
Ah, the Messenger API isn't quite what you're looking for here. Unless you want to catch the creation of conversation windows, which in that case I recommend you take a look at http://www.rpsoftware.net/tutorials.php?page=events.
As for adding the menu, you'll need to centre that code around a call to InsertMenu(). The MSDN Library has fullinfo on InsertMenu(), and it should be easy to find.


thanks for the info :) the fog is clearing up in my mind slowly ...

so, suppose I don't want to assume my users have Plus! installed, and I want to:

1. add a menu to messenger so they can set and view some options

2. get a chance to receive and interpret the text sent by the other side of the chat conversation

what do i need to do to add this functionality to messenger? I write a DLL with the right bits of code in it, and I put this DLL in a directory somewhere on my system? what directory?

is there a general tutorial for total idiots somewhere on how to add functionality to messenger? :-)

i've looked at various pages on msn messenger and the messenger protocol, how to install hooks etc to trick messenger and do your own stuff.. but it all looks complicated compared to the msn plus plugin code kit i downloaded from the website here... am I correct to think that plus! hides all this complexity and makes it simpler for people to write msn messenger functionality? i'm not sure how i could bring up my own configuration window from the plus plugin DLL I would write..


thanks!

This post was edited on 06-05-2005 at 09:49 AM by bschiett.
06-05-2005 09:26 AM
Profile E-Mail PM Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
21 / Other / Flag
Joined: Jul 2003
RE: write plugin that runs on msn messenger directly / microsoft's policy
2. get a chance to receive and interpret the text sent by the other side of the chat conversation



now that one is a tricky..

unless you go deep deep into winsock hooking, or using a homemade proxy.. its going to be hard work..
06-05-2005 09:42 AM
Profile PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: write plugin that runs on msn messenger directly / microsoft's policy
quote:
Originally posted by Stigmata
winsock hooking, or ... homemade proxy
Or API hooking, which is itself very tricky.

As for the menu adding, it's possible even withoiut using the Messenger API. You'll just need a global hook to catch window creation. If the window class is 'IMWindowClass', subclass it and add the menu.

For hooking, look up SetWindowsHookEx(), and go from there ;)
[Image: spartaafk.png]
06-05-2005 01:09 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