Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » UltraLite - C and C++ Programming » Application development » UltraLite application development for Windows Mobile » CustDB sample application

 

Building the CustDB sample application

Build the CustDB sample application to see how an application interfaces with an UltraLite database.

Prérequis

There are no prerequisites for this task.

 Task
  1. Start Visual Studio.

  2. Open the project file located in the %SQLANYSAMP16%\UltraLite\CustDB directory.

  3. Click Build » Set Configuration Manager to set the target platform.

    Set an active solution platform of your choice.

  4. Build the application:

    • Click Build » Deploy Solution to build and deploy CustDB.

      When the application is built it will be uploaded automatically to the remote device.

  5. Start the MobiLink server:

    • To start the MobiLink server, click Start » Programs » SQL Anywhere 16 » MobiLink » Synchronization Server Sample.

  6. Run the CustDB application:

    Before running the CustDB application, the custdb database must be copied to the root folder of the device. Copy the database file named %SQLANYSAMP16%\UltraLite\CustDB\custdb.udb to the root of the device.

    On the device or simulator, execute CustDB.exe, which is located in the project folder under \Program Files.

Résultat

The CustDB application loads.