Adding References to a Mobile Application Project

This describes how to add the required libraries as references in the Visual Studio project.

You can use this method to add references to your client projects.

  1. Add the following libraries for the appropriate device platform as references in the Visual Studio project:
    For Windows Mobile:
    • sup-client.dll – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\WM.
    • iAnywhere.Data.UltraLite.dll – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\WM\Ultralite.
    • iAnywhere.Data.UltraLite.resources.dll (several languages are supported) – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\WM\Ultralite\<language>.
    For Windows:
    • sup-client.dll – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\Win32.
    • iAnywhere.Data.UltraLite.dll – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\Win32\Ultralite.
    • iAnywhere.Data.UltraLite.resources.dll (several languages are supported) – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\Win32\Ultralite\<language>.
  2. Add the following libraries for the appropriate device platform as items in the Visual Studio project. Set "Build Action" to "Content" and "Copy to Output Directory" to Copy always.
    For Windows Mobile:
    • ulnet12.dll – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\WM\Ultralite.
    • mlcrsa12.dll (if HTTPS protocol is used) – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\WM\Ultralite.
    • mlczlib12.dll (if HTTPS protocol is used) – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\WM\Ultralite.
    • CMessagingClient.dll – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\WM\<DeviceType>. <DeviceType> can be PocketPC or Smartphone as applicable.
    For Windows:
    • ulnet12.dll – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\Win32\Ultralite.
    • mlcrsa12.dll (if HTTPS protocol is used) – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\Win32\Ultralite.
    • mlczlib12.dll (if using compression) - from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\Win32\Ultralite.
    • CMessagingClient.dll – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\Win32.
    • ECTrace.dll – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\Win32.
    • TravelerLib.dll – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\Win32.
    • zlib1.dll – from <UnwiredPlatform_InstallDir>\MobileSDK\ObjectAPI\Win32.