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 SMP_HOME\MobileSDK<version>\ObjectAPI\WM.
    • iAnywhere.Data.UltraLite.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\WM\Ultralite.
    • iAnywhere.Data.UltraLite.resources.dll (several languages are supported) – from SMP_HOME\MobileSDK<version>\ObjectAPI\WM\Ultralite\<language>.
    For Windows:
    • sup-client.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\Win32.
    • iAnywhere.Data.UltraLite.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\Win32\Ultralite.
    • iAnywhere.Data.UltraLite.resources.dll (several languages are supported) – from SMP_HOME\MobileSDK<version>\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 SMP_HOME\MobileSDK<version>\ObjectAPI\WM\Ultralite.
    • mlcrsa12.dll (if HTTPS protocol is used) – from SMP_HOME\MobileSDK<version>\ObjectAPI\WM\Ultralite.
    • mlczlib12.dll (if HTTPS protocol is used) – from SMP_HOME\MobileSDK<version>\ObjectAPI\WM\Ultralite.
    • CMessagingClient.<version>.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\WM\<DeviceType>. <DeviceType> can be PocketPC or Smartphone as applicable.
    For Windows:
    • ulnet12.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\Win32\Ultralite.
    • mlcrsa12.dll (if HTTPS protocol is used) – from SMP_HOME\MobileSDK<version>\ObjectAPI\Win32\Ultralite.
    • mlczlib12.dll (if using compression) - from SMP_HOME\MobileSDK<version>\ObjectAPI\Win32\Ultralite.
    • CMessagingClient.<version>.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\Win32.
    • ECTrace.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\Win32.
    • TravelerLib.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\Win32.
    • zlib1.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\Win32.
    • libeay32.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\Win32.
    • ssleay32.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\Win32.