示例Outlook状态提供商应用 [英] Sample Outlook presence provider app

查看:176
本文介绍了示例Outlook状态提供商应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我看到许多开发人员正在寻找提供Outlook在线集成的方法,因此我想开发一个示例应用程序并将该示例提供给开发人员社区以供参考。



我开始阅读微软提供的帮助页面(https://msdn.microsoft.com/en-us/library/office/ jj900715.aspx)。该页面提供了大量信息,但在该页面之后并未提供完整的工作应用程序。感染该页面甚至没有提到这个解决方案的
我们将需要一个进程外COM服务器。



挖掘到其他论坛,我终于意识到我需要一个进程外的COM服务器,所以我找到了另外一个Microsoft示例创建进程外COM服务器,然后注册COM并启动我的示例应用程序。



此时,我的示例应用程序非常基本,只是托管  UCCollaborationLib.IUCOfficeIntegration  &absp; UCCollaborationLib._IUCOfficeIntegrationEvents  接口
并创建Microsoft文档中提到的IMprovider注册表。我想首先使用Outlook 2016来调用IUCOfficeIntegration接口中的一个函数,然后实现完整的工作示例,但outlook不会调用COM的任何函数。我尝试使用
创建VB脚本来调用GetAuthenticationInfo并且工作正常,所以我不知道我的示例应用程序缺少哪个outlook需要这个集成工作。



在下一篇文章中,我将附上我的非工作样本,以便有人想查看代码。


解决方案

请查找非工作样本  此处


Y 在开始此示例之前,您需要重新调整OutlookPresenceProvider.dll




I see lot of developers looking for a way to provide outlook presence integration so I want to develop a sample app and provide that sample back to developer community for a reference.

I started reading from Microsoft provided help page (https://msdn.microsoft.com/en-us/library/office/jj900715.aspx). That page provides lot of info but following that page does not provide complete working app. Infect that page does not even mention that for this solution we will need an out of process COM server.

After digging into other forums, I finally realized that I need an out of process COM server so I found one more Microsoft sample to create out of process COM server, then registered COM and started my sample app.

At this point, my sample app is very basic and just host UCCollaborationLib.IUCOfficeIntegration and UCCollaborationLib._IUCOfficeIntegrationEvents interfaces and creates the IMprovider registry mentioned in Microsoft document. I want to first Outlook 2016 to call one of the function from IUCOfficeIntegration interface and then implement full working sample but outlook does not call any function of COM. I tried to create VB script to call GetAuthenticationInfo and that works fine so I don't know what is my sample app is missing which outlook needs in order to this integration work.

In next post I will attach my non working sample so incase someone want to look into code.

解决方案

Please find non working sample Here

You will need to regasm OutlookPresenceProvider.dll before starting this sample



这篇关于示例Outlook状态提供商应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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