UCCAPI是oc客户端开发SDK,今天在试网上下载的一个例子时,当代码执行初始化UccUriManager mgr = new UccUriManager();发生异常:“Retrieving the COM class factory for component with CLSID {201D2DCD-AF4F-484E-9793-56CAC5EC0C16} failed due to the following error: 80040154”

经过查找,有可能是在网上提供的源代码引用uccapi.dll时生成的Microsoft.Office.Interop.UccApi.Dll是在本机上获得的registry key, 但当在你本机用regsvr32 注册 uccapi.dll的时候,生成的registry key是不一样,所以COM初始化找不到对应的key,就失败了。用


   Windows Registry Editor Version 5.00

   -- UccPlatform cls

注册一下即可初始化成功

http://social.microsoft.com/Forums/is/communicatorextensibility/thread/8b29c87c-b085-45fc-85cb-865ba0b990c3

相关文章:

  • 2021-10-05
  • 2022-12-23
  • 2021-11-13
  • 2021-07-27
  • 2022-12-23
  • 2021-12-09
  • 2021-09-15
  • 2022-12-23
猜你喜欢
  • 2021-12-16
  • 2022-12-23
  • 2021-12-29
  • 2021-07-20
  • 2021-11-21
  • 2021-11-15
  • 2021-06-19
相关资源
相似解决方案