Contents Index Synchronization via TCP/IP Developing Embedded SQL Applications pdf/preface.pdf

UltraLite User's Guide
  Tutorial: Build an Application Using Embedded SQL
    Building the sample embedded SQL UltraLite application
      Adding synchronization to your application

Running the sample application with synchronization

After you have made changes to the sample.sqc file, you must preprocess the altered sample.sqc file and rebuild ultutorial.exe.

This section assumes that you have completed the tutorial in the previous section and therefore have the appropriate project settings for the ultutorial project. If, however, you have not run the tutorial, you should refer to the guidelines in the previous section for including the appropriate project settings.

To rebuild the sample application

  1. Ensure that the Adaptive Server Anywhere database server is still running.

  2. Preprocess your new sample.sqc file.

    In the Workspace window, right click on sample.sqc and select Settings. Ensure that the Commands box contains the appropriate command for running the SQL preprocessor. Choose Build > Compile sample.sqc to recompile the altered file. A new sample.cpp file will be generated.

  3. Build the executable.

    Select Build > Build ultutorial.exe to build the sample executable.

To run the sample application

  1. Start the MobiLink synchronization server:

  2. Run the application:


Contents Index Synchronization via TCP/IP Developing Embedded SQL Applications pdf/preface.pdf