UCCAPI Cheat Sheet for Developing Client Apps

When working with UC, or anything that has some involvement with COM objects, one tends to notice the environment can be a bit unforgiving.  UC is new as well and sometimes bits of answers are scattered all over the internet.  When getting applications developed using the Microsoft Unified Communications Client SDK (UCCAPI) I’ve had a bit of trouble remembering all the particulars so I’ve made this cheatsheet:

  • Turn off the Access Control feature if you are on Vista
  • Project Build Properties: Platform Target = x86
  • Copy the following DLLs to the project: UccApi.dll, RTMPLTFM.dll
  • Add a reference to this in the project: On the COM tab | MIcrosoft.Office.Interop.UccApi
  • Create a manifest file, add it to the project. Set its properties to always copy to the output folder
  • Make sure the name of the manifest file matches the project name as do the identities within the file.
  • On the application tab of the Project properties, ensure that the correct manifest file is chosen from the Resources | Manifest: dropdown.
  • Ensure that click-once configuration has not been set in the project properties. This causes manifest conflicts and deletes dlls from the output folder (which in turn causes file not found issues w/UCCAPI.dll).
Advertisements

About this entry