StartVideo - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Skype & Live Messenger (/forumdisplay.php?fid=10) +----- Thread: StartVideo (/showthread.php?tid=28455) StartVideo by CMI on 07-10-2004 at 06:34 PM
Has anyone been able to call StartVideo? I haven't been able to do it through IMessenger in a plug-in written in VB, or directly in VC++ 7. The method always returns S_OK, MSN Messenger opens an IM Window, but the invite isn't sent. RE: StartVideo by Stigmata on 07-12-2004 at 10:14 AM
code: RE: RE: StartVideo by CMI on 07-12-2004 at 03:04 PM
quote: I've tried that and it doesn't work. RE: RE: StartVideo by CMI on 07-12-2004 at 04:38 PM
quote: Yes, this is my current solution, but I think its a bit sloppy. I thought that I must have just been doing something incorectly, but I recieve no errors and everyone suggests the same code I'm using. Its just plain weird. RE: StartVideo by CMI on 07-14-2004 at 02:33 AM
Since I'm such a nice guy, I figure I'll help all you people out if you were having StartVideo problems (with this and Messenger 6). No, it still doesn't work, but it doesn't have to. We will be sending a WM_COMMAND message to the IM window, making it think we pressed "Alt+w". code: After some careful Spy++ing, I can see that the lParam for WM_COMMAND we need to use is 9D57, or 0x9D57, or &H9D57, depending on the language and notation of choice. All we need to do is send this to the IM window using the SendMessage API call. In VB6, it looks like this: code: Its so painfully simple, isn't it? Of course, I'm still pretty pissed that IMessenger2.StartVideo doesn't work. Oh well. I should have known. Edit: In case you didn't notice, this was suggested above, but I initially overlooked the proper value to send to the window, and belive I should be sending things to the inner window. RE: StartVideo by Destajador on 03-25-2005 at 11:08 PM
Ok StartVoice or Video are the cmds |