创建Communicator对象时出错 [英] Error while creating Communicator object
问题描述
大家好,我在创建通信器对象时遇到错误。 CommunicatorAPI。 Hi all, CommunicatorAPI. Messenger communicator = new CommunicatorAPI。 信使 (); Messenger communicator = new CommunicatorAPI.Messenger();
字符串 sipUri = " rentala.kumar@sasken.com" ; string sipUri = "rentala.kumar@sasken.com";
IMessengerContact contact = communicator.GetContact(sipUri,communicator.MyServiceId) as IMessengerContact ; IMessengerContact contact = communicator.GetContact(sipUri, communicator.MyServiceId) as IMessengerContact;
string participant = contact.FriendlyName; string participant = contact.FriendlyName;
string status = contact .Status.ToString(); 这篇关于创建Communicator对象时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
错误:使用CLSID创建COM组件的实例{8885370D-B33E-44B7-875D-28E403CF9270由于以下错误,IClassFactory失败:8007000e。
代码:
I am getting below error while create a communicator object.
Error: Creating an instance of the COM component with CLSID {8885370D-B33E-44B7-875D-28E403CF9270} from the IClassFactory failed due to the following error: 8007000e.
Code:
如果有人为我提供上述错误的解决方案,请感谢。
问候,
Sravan 推荐答案
在程序创建接口实例之前,必须启动并运行Communicator进程。您还应确保Communicator已登录或致电Communicator.Autosignin()
The Communicator process has to be up and running before your program can create an instance of the interface. You should also make sure that Communicator is signed in or call Communicator.Autosignin()