Lync: CaptureVideowindow and RenderVideoWindow always null - video-capture

My application is to incorporate Lync communication (Lync 2013) into our application and
for this i am using windows forms application. I am using the code which i have downloaded from [msdn][1] site. I got the issue with the VideoWindows (CaptureVideoWindow, RenderVideoWindow) of the AVModality's VideoChannel: They are always null, even after successfully calling BeginStart. The connection is established and audio channel is also working fine, but the video is not capturing into my own window.
I am using Lync 2013 in UISuppression mode too.
getting null in VideoChannel.RenderVideoWindow and VideoChannel.CaptureVideowindow.

Finally i solve the issue, now it is working good,
what the problem is , in previous i used
lync basic version: 15.0.4420.1.17
lync SDk: 15.0.4517.1004
so, the video is not displayed in our own window, then i updated Lync basic version to 15.0.4517.1504 and the problem is solved.
so, the basic version of Lync is always greater than the version of Lync SDK we are using in our system.
You can download updated version from here
http://support.microsoft.com/kb/2817621
and see the solution in the following link too
http://social.msdn.microsoft.com/Forums/lync/en-US/07ee768a-d308-4dad-95ea-837c95bcadd2/uisuppression-videowindowowner-raises-generic-com-exception-0x800706f7

Related

"A fatal error occurred while creating a TLS client credential. The internal error state is 10013." every 10 seconds

This has been asked before, but I've been through all the answers provided elsewhere so far, i.e. checking permissions on c:\ProgramData\Microsoft\Crypto\RSA\MachineKeys, adjusting protocols using IISCrypto and turning use of FIPS algorithms on (and off) and I'm still getting batches of 4 events every 10 seconds which swamps the System event log.
I'm running Windows Insider Preview 10 Build 19592.rs_prerelease.200321-1719 (64-bit) so this could be a preview specific issue, however, is there anything else I can try to correct this error?
same issues here, same error code, same pattern , same windows build, tried ISS CRYPTO BEST PRACTICES fix attempt. Did not resolve.
This is not a server, its a standalone client in a home network with no other computers active. Office is not installed, no Exchange, no IIS, no server applications of any kind, just stock windows services. Install is fresh.
Active Browser is Chrome Portable with some basic security plugins such as UBLOCK,Tampermonkey and Adblock. The only webpage opened is this one.
The answer I finally got from a comment on anothersite was that this was a known issue in the Insider Preview and it's now been fixed in the latest releases.
I've gotten this error on an ASP.NET Core 6.0 service that used to work fine previously. The problem turned out to be faulty deployment, that removed all files from the virtual directory.

AccessViolationException when we use twain_32.dll for scanning in windows 8.1

I have an application which communicates with scanner and gets the image , it is working fine till windows 7 but it is failing in windows 8.1, we use twain(twain_32.dll) library for scanning purpose, Kindly help me
Make sure that the application id and source id which you are passing
to twain.dll is not null. From windows 8 and above, the ids can not be
null due to security reasons.

Integrating IM app with outlook 2013 not working without Lync installation

I have developed a local IM application (IM APP) with the help of article "https://msdn.microsoft.com/en-us/library/office/jj900715.aspx", LyncSDk 2013, Lync basic 2013 & Outlook 2013.
It is working at development machine because environment is setup there.
When it is running with different machine, outlook 2013 is not responding to IM APP with functions GetAuthenticationInfo(), GetInterface() etc of interface UCOfficeIntegration.
When Lync 2013 got installed at same machine than outlook is working well with IM APP. I again uninstalled it then again Outlook stop to send the request to IM APP.
Microsoft.Office.UC.dll is part of office15 folder & registered with Microsoft.NET\Framework\v4.0.30319\regasm.exe.
I am not able to find out the issue & resolution. Please suggest.
This is an effect of COM. If you want that your IM App to work independent of Lync then you will have to register your type library in system. But for now till the date you don't have your on typelibrary you would need Lync to be installed.

Does GCM works for android 2.3 platform?

I have created a APP using GCM which works correctly on Android platform 4.1 and 4.03 (I.e. Gets a RegId and register itself in my server and can even recieve a GCM), but when I start the emulator for android 2.3 (API 10) then the app gets installed but never registered I.E never gets RegId. When I start (install) the application for the first time then it receives a GCM message which I do not understand where it comes from but I can see that the device is not registered in my server. I also used a HTC phone with 2.3.3 android software and stil same result. Can any one see what the problem might be?
On the emulator it should normally not work, because it will not have a google account tied to the device. It is requiered for a device to have a google account and Google Play installed to register for an id.
The phone on the other hand should work.
GCM will Work from Android 2.2.
Refer this tutorial it may help you,
http://androidv5.wordpress.com/2012/08/15/how-to-implement-google-cloud-messaging/
it works fine for me.

Getting a COMException in my Microsoft Lync video chat app

I am trying to develop a basic app in Visual Studio that does a simple video chat with another person. Everything was working fine and I was able to successfully open a video chat. However, I have installed Lync with UI Supression, and the app will not run. Examining the InnerException I can see that the program is throwing a COMException "Exception from HRESULT: 0x80C8000B"
Via process of elimination I have found that commenting out the line auto = LyncClient.getAutomation() lets the app run, though the functionality of the app is gone.
After all my searching online I cant determine what could be causing this line to break it, and I know I need that line of code in order to move forward.
Automation is not available to you when running in UI Suppression Mode.
Suppression mode requires that Lync be installed on the client's machine, but you then need to use the Lync SDK to do a lot of the things that the client does for you, such as signing in (no trivial matter). However, the Automation section of the SDK is the link to the standard Lync UI, which is why it is unavailable to you.
You also don't have access to any of the UI controls that make up the Lync client ... with the exception of the VideoWindow control - which will most probably be useful to you.
There's a good article on understanding UI Suppression Mode here: http://msdn.microsoft.com/en-us/library/hh345230.aspx
Also, a great sample of how to sign in to Lync when using UI Suppression Mode: http://msdn.microsoft.com/en-us/library/hh378603.aspx
One more thing: if you have access to it, in this book on Lync chapter 5 actually has an end-to-end example of producing a UI Suppression AV kiosk app in WPF - which might be exactly what you're looking for.