What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Getting a handle to the conversation HWND...

Getting a handle to the conversation HWND...
Author: Message:
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Getting a handle to the conversation HWND...
quote:
Originally posted by allex87
I am trying to get the HWND to the conversation window.. here's what I do...


PLUGIN_PARAM plParam;
IMessengerWindow *pIMessengerWindow = NULL;

plParam.iConversationWnd->QueryInterface(IID_IMessengerConversationWnd, (void **)&pIMessengerWindow);


It stops at the last line... :( the same method worked for the iMessengerObj in the Initialize() function.. I did:
iMessengerObj->QueryInterface(IID_IMessenger, (void **)&pIMessenger);

Is there anything I do wrong?
Thanks.
I know it's been a short while since this has been read, but I can tell you what you've done wrong... you've used a NULL pointer to point to the interface returned. At least, I think this is what's causing it.
[Image: spartaafk.png]
07-12-2004 05:52 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Getting a handle to the conversation HWND... - by allex87 on 07-09-2003 at 01:53 PM
RE: Getting a handle to the conversation HWND... - by allex87 on 07-09-2003 at 03:24 PM
RE: Getting a handle to the conversation HWND... - by RaceProUK on 07-12-2004 at 05:52 PM
RE: Getting a handle to the conversation HWND... - by Mnjul on 07-12-2004 at 06:14 PM
RE: Getting a handle to the conversation HWND... - by CMI on 07-13-2004 at 12:24 AM
RE: Getting a handle to the conversation HWND... - by RaceProUK on 07-13-2004 at 09:58 AM
RE: Getting a handle to the conversation HWND... - by Dempsey on 07-13-2004 at 10:19 AM
RE: RE: Getting a handle to the conversation HWND... - by CMI on 07-13-2004 at 05:36 PM
RE: Getting a handle to the conversation HWND... - by Dempsey on 07-13-2004 at 06:04 PM
RE: Getting a handle to the conversation HWND... - by Millenium_edition on 07-13-2004 at 07:52 PM
RE: Getting a handle to the conversation HWND... - by CMI on 07-13-2004 at 08:29 PM


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