Creating a Mobile Application Project

This describes how to set up a project in Visual Studio without using the SybaseMobileApplication template. You must add the required libraries as references in the Visual Studio project. The libraries needed depend on client application platform and synchronization method (replication-based or message-based).

You can use this method to create replication-based and message-based sychronization client projects.

  1. Add the following libraries as references in the Visual Studio project:
    Replication-based synchronization:
    • sup-client.dll – from <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\ClientAPI\dotnet\<platform>.
    • iAnywhere.Data.UltraLite.dll – from <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\ClientAPI\Ultralite\<platform>\Assembly\V2.
    • iAnywhere.Data.UltraLite.resources.dll (several languages are supported) – from <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\ClientAPI\Ultralite\<platform>\Assembly\V2\<language>.
    Message-based synchronization:
    • sup-client.dll – from <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\ClientAPI\dotnet\<platform>.
    • For Windows 64-bit, System.Data.SQLite.DLL – from <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\ClientAPI\SQLite\x64.
    • For Windows 32-bit, System.Data.SQLite.DLL – from <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\ClientAPI\SQLite
  2. For replication-based synchronization, add the following libraries as items in the Visual Studio project. Set "Build Action" to "Content" and "Copy to Output Directory" to Copy always.
    • ulnet11.dll – from <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\ClientAPI\Ultralite\<platform>.
    • mlcrsa11.dll (if HTTPS protocol is used) – from <UnwiredPlatform_InstallDir>\Servers\UnwiredServer\ClientAPI\Ultralite\<platform>.
    • PUtilTRU.dll - from <UnwiredPlatform_InstallDir>\Servers \UnwiredServer\ClientAPI\DeviceID\<platform>.
  3. (Optional) This step is required only for Pocket PC and Smartphone clients. For message-based synchronization, add the following librariers as items in the Visual Studio project and set "Build Action" to "Content" and "Copy to Output Directory" to Copy always.
    • SQLite.Interop.065.DLL – from <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\ClientAPI\SQLite\CompactFramework.