Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8203243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T07:29:01+00:00 2026-06-07T07:29:01+00:00

We are currently trying to incorporate Lync communication (Lync SDK 2010) into our application

  • 0

We are currently trying to incorporate Lync communication (Lync SDK 2010) into our application and we have run into an issue with the VideoWindows (CaptureVideoWindow, RenderVideoWindow) 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 MSDN forum thread)

Update (4th July 2012, 15:46 CET):

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.

Screenshot of debugging session showing the exception

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

Update (9th July 2012, 16:43 CET):

We did some further testing…

Our software consists of one main application and many plugin-like “apps” loaded via MEF. We created a minimal test app that makes a video call: The video windows did not work (as expected). But when we took the identical code and created a separate solution outside of our architecture, then it did work. So, it was an issue with the environment, not the code.

At first, we suspected MEF might be the problem. So, we hacked the lync code into our main application – circumventing the whole app architecture. Still not working.

Then we sliced off our whole system, bit by bit, until we finally reached a point where it did work. After following wrong tracks several times, we finally found the culprit… Quartz.NET!

For some strange reason the mere presence of an assembly reference to the Quartz.dll v.1.0.3.3, even without a single line of Quartz code, causes the video windows to not work. Unbelievable, but it’s 100% reproducible: If we take the previously mentioned test solution and do nothing but add the reference, it stops working.

Any idea how such a thing is possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T07:29:04+00:00Added an answer on June 7, 2026 at 7:29 am

    We solved it! Kind of. A reference to a Quartz.NET DLL somehow caused the issue. More details in the updated question.

    For now, we have removed the component that used Quartz. We currently do not need it.

    But I’m still interested in further input how a mere reference can cause such an issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently trying to incorporate 'PhotoSwipe' for jQuery into my application with images
I am currently trying to incorporate an .ane into my iOS application. The .ane
I am currently trying to incorporate Steve Sanderson's example code into my MVC 3
So I am trying to incorporate a hashtag search into posts on my application.
I'm trying to incorporate some JavaScript unit testing into my automated build process. Currently
I'm trying to incorporate Lucene.net in my web search. Currently I have a lucene.net
So I recently have been trying to incorporate more sub forms to make the
Hey everyone. I am trying to incorporate a simple UINavigationController into my tab bar
I am currently trying to fix my UI to incorporate a background image. My
I'm trying to incorporate some UI components to a BoilerplateJS project that I'm currently

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.