Reference link : Integrating IM applications with Office (https://msdn.microsoft.com/en-us/library/office/jj900715.aspx?f=255&MSPPError=-2147217396). This is for office 2013 but it is also applicable for office 2010 as well (mentioned in article).
I am trying to write 3rd party IM Client application with outlook 2010. I'm using VS2010 & Lync SDK 2010 (Microsoft.Office.Uc (version 4.0.7577.5)) with .NET Framework(3.5). But outlook is giving below errors. I also checked many other posts like "http://msdev.developer-works.com/article/29718323/How+to+implement+an+IM+provide+for+outlook"
I have implemented almost all interfaces but reason of the problem is unknown to me. Please suggest problem/solution
Errors:
CMsoIMProviderFactory::HrEnsureDefaultIMAppRegKeys Succeeded opening reg key (HKCU:SOFTWARE\IM Providers\)
CMsoIMProviderFactory::HrEnsureDefaultIMAppRegKeys Succeeded querying reg key (HKCU:SOFTWARE\IM Providers\:DefaultIMApp:CSExeCOMServer)
CMsoIMProviderFactory::HrEnsureDefaultIMProcessRegKey Succeeded opening reg key (HKCU:SOFTWARE\IM Providers\CSExeCOMServer)
CMsoIMProviderFactory::HrEnsureDefaultIMProcessRegKey Succeeded opening reg key (HKLM:SOFTWARE\IM Providers\CSExeCOMServer)
CMsoIMProviderFactory::WhichMessengerInProcessList Using (CSExeCOMServer) process name for search
<CMsoIMNAbstractionLayer::HrPostJob> <job:IMsoPresenceJobProviderConnect>
<CMsoIMNALAsyncNotificationHandler::HrInitialize>
</CMsoIMNALAsyncNotificationHandler::HrInitialize>
<CMsoIMNALAsyncNotificationHandler::DwThreadProc>
<CMsoIMNAbstractionLayer::HrOnJob> <job:IMsoPresenceJobInitialize>
<CMsoIMNAbstractionLayer::HrInitializeInternal>
<CMsoIMNAbstractionLayer::HrPostJob> <job:IMsoPresenceJobProviderConnect>
</CMsoIMNAbstractionLayer::HrPostJob> <job:IMsoPresenceJobProviderConnect>
</CMsoIMNAbstractionLayer::HrInitializeInternal>
</CMsoIMNAbstractionLayer::HrPostJob> <job:IMsoPresenceJobProviderConnect>
</CMsoIMNAbstractionLayer::HrOnJob> <job:IMsoPresenceJobInitialize>
<CMsoIMNAbstractionLayer::HrPostJob> <job:IMsoPresenceJobProviderConnect>
<CMsoIMNAbstractionLayer::HrOnJob> <job:IMsoPresenceJobProviderConnect>
</CMsoIMNAbstractionLayer::HrPostJob> <job:IMsoPresenceJobProviderConnect>
<CMsoIMNAbstractionLayer::HrEnsureIMApp>
<CMsoIMNAbstractionLayer::HrPostJob> <job:IMsoPresenceJobProviderConnect>
<CMsoIMProviderFactory::HrGetAvailableProvider>
</CMsoIMNAbstractionLayer::HrPostJob> <job:IMsoPresenceJobProviderConnect>
CMsoIMProviderFactory::WhichMessengerInProcessList Using (CSExeCOMServer) process name for search
<CMsoProviderOCom::HrInitialize>
<CMsoProviderOCom::HrEnsureIMCallback>
CMsoProviderOCom::HrEnsureIMCallback !failed! Line: 741 hr = 0x80040200
</CMsoProviderOCom::HrEnsureIMCallback !failed! hr = 0x80040200>
CMsoProviderOCom::HrInitialize !failed! Line: 653 hr = 0x80040200
</CMsoProviderOCom::HrInitialize !failed! hr = 0x80040200>
CMsoIMProviderFactory::HrGetAvailableProvider !failed! Line: 432 hr = 0x80040200
!!!Provider Initialization Failed!!!
<CMsoProviderOCom::HrGetLocalCapabilities>
CMsoIMProviderFactory::HrGetAvailableProvider !failed! Line: 289 hr = 0x80004005
!!!Provider Initialization Failed!!!
</CMsoIMProviderFactory::HrGetAvailableProvider !failed! hr = 0x80004005>
CMsoIMNAbstractionLayer::HrEnsureIMApp !failed! Line: 2239 hr = 0x80004005