成功调用BeginStart后,AVModality.VideoChannel的VideoWindows为null(COMException HRESULT:0x80029C4A TYPE_E_CANTLOADLIBRARY) [英] VideoWindows of AVModality.VideoChannel are null after successfully calling BeginStart (COMException HRESULT: 0x80029C4A TYPE_E_CANTLOADLIBRARY)

查看:102
本文介绍了成功调用BeginStart后,AVModality.VideoChannel的VideoWindows为null(COMException HRESULT:0x80029C4A TYPE_E_CANTLOADLIBRARY)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前正在尝试将Lync通信(Lync SDK 2010)整合到我们的应用程序中,我们遇到了
VideoWindows CaptureVideoWindow 的问题
AVModality 的  VideoChannel 的em>,  RenderVideoWindow :他们总是
null
,即使在成功调用 BeginStart 之后也是如此。这种联系是明确的。我们可以谈。我们自己的视频显示在远程Lync客户端中。
AVModalityState 已连接 VideoChannelState
连接接收发送


我们何时以及如何尝试访问它们并不重要:直接在 BeginStart 之后,在 BeginStart
AsyncCallback 中,响应各种状态变化或响应外部触发(用户点击事件);在主/ UI线程或事件/回调线程中。两个视频窗口始终为空。


在示例应用程序中,"%PROGRAMFILES%\ Microsoft Lync \ SDK \Samples \ AudioVideoConversation",一切按预期工作:只要
BeginStart 完成,我们就可以访问非空视频窗口。在我们的小型独立原型项目中,它也有效。但是在我们的实际应用中,它没有。


我们已经对所有内容进行了双重检查,但我们确实已经完成了可能导致此问题的想法。


任何想法,任何提示?我们应该注意什么?


(链接到相应的Stack Overflow线程)
$



解决方案

更新:


当我们看一下VideoChannel的成员时,我们发现内部在"Microsoft.Office.Uc"中发生了COMException:加载DLL时出错,HRESULT:0x80029C4A(TYPE_E_CANTLOADLIBRARY)。所附屏幕截图中的更多详细信息。


我们对此错误进行了一些研究,但没有发现任何对我们有用的信息。是什么原因引起了异常?



We are currently trying to incorporate Lync communication (Lync SDK 2010) into our application and we have run into an issue with the VideoWindows (CaptureVideoWindowRenderVideoWindow) of the AVModality's VideoChannel: They are always null, even after successfully calling BeginStart. The connection is definitely established. We can talk. Our own video is shown in a remote Lync client. AVModalityState is Connected. VideoChannelState goes from Connecting to Receive to Send.

It does not matter when and how we try to access them: Directly after BeginStart, in the AsyncCallback of BeginStart, in response to various state changes or in response to an external trigger (user click event); in the main/UI thread or in an event/callback thread. The two video windows are always null.

In the example application "%PROGRAMFILES%\Microsoft Lync\SDK\Samples\AudioVideoConversation", everything works as intended: As soon as BeginStart has finished, we can access the non-null video windows. In our little stand-alone prototype project, it works, too. But in our real application, it does not.

We have double checked everything and we have really run out of ideas of what might cause this problem.

Any ideas, any hints? Anything that we should be aware of?

(Link to corresponding Stack Overflow thread)


解决方案

Update:

When we take a look at the members of the VideoChannel we find that internally a COMException occured in "Microsoft.Office.Uc": Error loading DLL, HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY). More details in the attached screenshot.

We did some research on this error, but found nothing that worked for us. Any ideas what causes the Exception?


这篇关于成功调用BeginStart后,AVModality.VideoChannel的VideoWindows为null(COMException HRESULT:0x80029C4A TYPE_E_CANTLOADLIBRARY)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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