Installing files on a Windows CE device

This section describes how to install the DB2 Everyplace libraries and sample applications on a Windows CE mobile device.

Prerequisites

Before you install the files, you need to perform the following steps:

  1. On your Windows workstation, install and configure the Windows CE Services software (also known as ActiveSync in later versions) that came with the Windows CE mobile device.
  2. Connect the Windows CE mobile device to the Windows workstation. Use the device's documentation to ensure that it is connected correctly.

Procedure

To install the DB2 Everyplace libraries and sample application files manually:

  1. Use the Install Tool from the Windows CE Services connection software (or ActiveSync) that is included with the Windows CE device to install the following files. Table 189 contains the Windows CE device filess. These files are located in \DB2Everyplace\Clients\WinCE\database. In the following tables:
    devtype is the WinCE device type
    proc is the processor type

    Table 189. Windows CE device files

    File Name Description
    wce300\proc\db2e.dll DB2 Everyplace database engine
    wce300\proc\CryptoPlugin.dll DB2 Everyplace database engine for data encryption
    wce300\proc\db2ejdbc.dll DB2 Everyplace JDBC driver
    jdbc\db2ejdbc.jar DB2 Everyplace JDBC driver

    See Overview of DB2 Everyplace sample applications for information on the location of the sample files.

  2. If you plan to use the DB2 Everyplace Sync Server, install the following Sync Client files. Table 190 contains the SyncClient files. These files are located in \DB2Everyplace\Clients\WinCE\Sync\lang\ver\proc

    where lang is the language code, ver is the WinCE version, and proc is the processor type.

    Table 190. Windows CE SyncClient files

    File Name Description
    dsyagent.dll IBM Sync Remote Stored Procedure adapter
    imsaconfig.dll IBM Sync Configuration adapter
    imsadb2e.dll IBM Sync DB2 Everyplace adapter
    imsafile.dll IBM Sync File adapter
    isyncconf.dll IBM Sync engine
    isyncore.dll IBM Sync engine
    isyncxpt.dll IBM Sync transport library
    isync4j.dll IBM Sync Java adapter
    isync4j.jar IBM Sync Java
    isyncui.exe IBM Sync interface
    wbxmllib.dll IBM Sync WBXML library
    upgrade\iupgrade.exe IBM Sync Auto Deploy
  3. Perform a sync function to complete the installation of the DB2 Everyplace libraries and application files to the Windows CE mobile device.
Note:
The following table indicates where to obtain Sync Client libraries for various emulators:

Table 191. Sync Client libraries for emulators

File Name Description
\Clients\WinCE\sync\lang\wce300\X86EMRel Pocket PC emulator
\Clients\WinCE\sync\lang\wce300\X86Rel Pocket PC 2002 emulator
\Clients\WinCE\sync\lang\wce400\emulatorRel WinCE .NET emulator

Encryption support for Pocket PC 2000 is available only with the Microsoft High Encryption Pack for Pocket PC V1.0 available from www.microsoft.com/mobile/pocketpc/downloads/ssl128.asp. Encryption support for Pocket PC 2002 is available with the Pocket PC 2002 SDK under \Windows CE Tools\wce300\Pocket PC 2002\support\EnhancedCrypto. The Microsoft High Encryption Pack for Pocket PC must be installed to use encryption between Windows CE or Pocket PC mobile devices and the DB2 Everyplace Sync Server.

Related tasks

Related reference