What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Dev-C++ Problem

Dev-C++ Problem
Author: Message:
IcyT
New Member
*

Avatar
- IcyT -

Posts: 3
– / Male / –
Joined: Sep 2005
O.P. Dev-C++ Problem
Is it possible to develop a plugin with dev-c++ that only shows a messagebox if I change my own status?
I don't know how to use the IMessenger3 interface. If I declare a variable as IMessenger3, I already get errors. Which files do I have to include?
If someone has already implemented a similiar plugin, I think it wouldn't make much work to solve my problem and send me the plugin.
Thanks!
09-14-2005 01:44 PM
Profile PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Dev-C++ Problem
You need to ensure you include msgrua.h and msgruaid.h in any CPP file you use the Messenger API in.

Edit: And link to msgrguid.lib as well ;)

This post was edited on 09-14-2005 at 03:50 PM by RaceProUK.
[Image: spartaafk.png]
09-14-2005 03:49 PM
Profile PM Web Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: Dev-C++ Problem
look at the MPPlugins.zip plugin sample, as that shows using the Messenger API from within a C++ plugin, and you just have to change it to use the event you want (OnMyFirendlyNameChange IIRC) and bleh
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
09-14-2005 03:53 PM
Profile E-Mail PM Web Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: Dev-C++ Problem
quote:
Originally posted by Dempsey
OnMyFirendlyNameChange IIRC

its broken in msn 7.5 (i think)
09-14-2005 03:55 PM
Profile PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Dev-C++ Problem
He wants it to trigger OnMyStatusChange (DISPID_MUAE_ONMYSTATECHANGE).
quote:
Originally posted by Lee Jeffery
quote:
Originally posted by Dempsey
OnMyFirendlyNameChange IIRC
its broken in msn 7.5 (i think)
Yes it is. I know this because I depend on it.
[Image: spartaafk.png]
09-14-2005 04:24 PM
Profile PM Web Find Quote Report
IcyT
New Member
*

Avatar
- IcyT -

Posts: 3
– / Male / –
Joined: Sep 2005
O.P. RE: RE: Dev-C++ Problem
quote:
Originally posted by raceprouk
You need to ensure you include msgrua.h and msgruaid.h in any CPP file you use the Messenger API in.

Edit: And link to msgrguid.lib as well ;)
That's just what I already did, but I got linking errors.


quote:
Originally posted by Dempsey
look at the MPPlugins.zip plugin sample, as that shows using the Messenger API from within a C++ plugin, and you just have to change it to use the event you want (OnMyFirendlyNameChange IIRC) and bleh
The plugin samples are for Visual C++. Dev-C++ got no comdef.h and I think that's what you need to make such a plugin.


quote:
Originally posted by Lee Jeffery
its broken in msn 7.5 (i think)
That doesn't matter, the plugin is for the windows messenger :P

This post was edited on 09-14-2005 at 05:00 PM by IcyT.
09-14-2005 04:59 PM
Profile PM Web Find Quote Report
IcyT
New Member
*

Avatar
- IcyT -

Posts: 3
– / Male / –
Joined: Sep 2005
O.P. RE: Dev-C++ Problem
Hm.. no ideas?
09-16-2005 08:23 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