Create a Visual Studio Project for a Unified Communications Client API Client

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

To create a Visual Studio project

  1. Start Microsoft Visual Studio 2005.

  2. On the File menu, click New Project.

  3. Highlight the Visual C# node under the Project types pane, select the Windows Application item in the Templates pane, and then specify the project name (in the Project name box), directory (in the Location box), and the solution name (in the Solution name box).

  4. Click OK.

  5. In Solution Explorer, right-click the project name, and then click Existing items on the Add menu.

  6. Locate the Unified Communications Client API assembly installation directory (C:\program files\Microsoft UccApi, by default), and then select the available DLLs: UccApi.dll and RTMPLTFM.dll. UCCAPIRES.dll can be found in the MUI\0409 subdirectory.

  7. In Solution Explorer, right-click References, and then click Add Reference.

  8. Click the Browse tab (to reference a private copy of the Microsoft.Office.Interop.UccApi.Dll), locate the Unified Communications Client API assembly installation directory (C:\program files\Microsoft UccApi, by default), and then double-click Microsoft.Office.Interop.UccApi.Dll (the primary interop assembly of Unified Communications Client API).

  9. Create an application manifest file by following the example in Create an Application Manifest to Reference a Private Copy of UccAPI.Dll. Save the application manifest to the directory where the application executable will be placed.

  10. Add the manifest file to the project. Right-click the project and choose Add Existing Item. Browse to the manifest file saved in the prior step.

  11. In Solution Explorer select the project node and right-click Properties, and then click Application. Set the Target Framework property to .NET Framework 2.0.

  12. On the Application tab, select the Manifest drop-down list and choose the application manifest created in a prior step.

  13. Add application logic to the project.

Warning

The Unified Communications Client Platform (UCCP) API only supports the Single Threaded Apartment (STA) threading model. Do not use a multi-threaded model when developing a custom application using the UCCP API.

See Also

Concepts

Getting Started Using Unified Communications Client API