创建Communicator对象时出错 [英] Error while creating Communicator object

查看:159
本文介绍了创建Communicator对象时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我在创建通信器对象时遇到错误。

错误:使用CLSID创建COM组件的实例{8885370D-B33E-44B7-875D-28E403CF9270由于以下错误,IClassFactory失败:8007000e。

代码:

CommunicatorAPI。

Hi all,
        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:

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();

如果有人为我提供上述错误的解决方案,请感谢。

问候,
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()



这篇关于创建Communicator对象时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆