« Back to APIs

How to launch a chat session in Cisco Jabber using IM protocol?

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
 
The below given link tells that we can use IM protocol handler to open a Cisco Jabber chat window.
http://www.cisco.com/en/US/docs/voice_ip_comm/jabber/Windows/9_0_1/b_jabber_win_icg_chapter_01.html#reference_B9B719CC3A7A4F4A8424AD98D641A2A9
 
In C++ system application , how to open Cisco Jabber chat window using IM protocol handler? Whether I have to use ShellExecute() or someother function?
 
Thanks in Advance.

Hello -
 
These forums are for the Jabber Web Toolkit which is a javascript library targeted at web applications. 
 
Thanks-
Amanda whaley

Hi,
I have not tried it myself, I believe the following C++ code should call the im: protocol handler:

std::wstring url = L“im:user@domain.com”;
ShellExecute(NULL, L"open", url.c_str(), NULL, NULL, SW_SHOW);
The documentation of the ShellExecute function can be found here:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb762153(v=vs.85).aspx
Thomas