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. Set Build Action to Content and Copy to Output Directory to Copy always:
    For Windows Mobile:
    • sup-client.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\WM.
    • CMessagingClient.<version>.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\WM\PocketPC or SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\WM\Smartphone.
    • SQLite.Interop.065.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\WM\.
    • iAnywhere.Data.UltraLite.resources.dll (several languages are supported) – from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\WM\Ultralite\<language>.
    For Windows:
    • sup-client.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\Win32.
    • ECTrace.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\Win32.
    • CMessagingClient.<version>.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\Win32.
    • Traveler.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\Win32.
    • zlib1.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\Win32.
    • libeay32.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\Win32.
    • ssleay32.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\Win32.
  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\DOE\WM\Ultralite.
    • ulnetclient12.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\WM\Ultralite.
    • mlcrsa12.dll (if HTTPS protocol is used) – from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\WM\Ultralite.
    • mlczlib12.dll (if HTTPS protocol is used) – from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\WM\Ultralite.
    For Windows:
    • ulnet12.dll – from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\Win32\Ultralite.
    • mlcrsa12.dll (if HTTPS protocol is used) – from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\Win32\Ultralite.
    • mlczlib12.dll (if using compression) - from SMP_HOME\MobileSDK<version>\ObjectAPI\DOE\Win32\Ultralite.