03 2012 档案
摘要:Today tried to call cwa method to verify user online status. logon successfully using "Forms", but call Initiate Session gives me 500 internal server error. this is because MainCommandHandler.ashx does not exist on server !! must use AuthMainCommandHandler.ashx, terrible! when I modified,
阅读全文
摘要:用OC如何像QQ一样发送离线消息呢?今天学习了一整天,有一点结果。最简单的方法是用OC Auamation API. 下述是伪代码,只用来表示如果使用automation API实现。//在调用前,oc客户端要被运行起来,可能没有登录CommunicatorAPI.MessengerClass communicatorObj = new CommunicatorAPI.MessengerClass();if (communicatorObj.MyStatus != MISTATUS.MISTATUS_OFFLINE){ //If already signed in, then set conn
阅读全文
摘要:这个跟上篇是类拟的,只不过,这次用的是oc automation方式,不是用的uccapi. 在使用automation的时候,要进行初始化com的时候,必须将oc客户端打开。然后才能用automation。这就是automation的特色。http://social.msdn.microsoft.com/Forums/da-DK/communicatorsdk/thread/1a82879d-a83c-4b41-9566-531d0d648fab
阅读全文
摘要: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是在本
阅读全文