What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Skype & Live Messenger » IMessenger3->InstantMessage()

IMessenger3->InstantMessage()
Author: Message:
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
O.P. Huh?  IMessenger3->InstantMessage()
I call this method witha correctly set-up 'contact' argument, and a valid pointer to receive the IMessengerConversationWnd* (as IDispatch*, so no typecasting). So why do I always get 'We are unable to start a conversation.'?

Update: A bit of testing shows that, despite using an e-mail address that differs from mine, I get 'E_FAIL', meaning I called it against myself?

This post was edited on 06-25-2005 at 07:25 PM by RaceProUK.
[Image: spartaafk.png]
06-25-2005 07:11 PM
Profile PM Web Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: IMessenger3->InstantMessage()
To make things certain: How do you set-up the vContact argument? :)
06-26-2005 05:48 AM
Profile PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
O.P. RE: IMessenger3->InstantMessage()
code:
VariantInit(&contact);
contact.vt = VT_BSTR;
contact.bstrVal = (BSTR)param;
where 'param' is a WCHAR*.

Edit: Never mind - it was a threading issue.

This post was edited on 06-28-2005 at 02:12 PM by RaceProUK.
[Image: spartaafk.png]
06-26-2005 01:07 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