Windows Mobile notes
Prev | Chapter 5. Building Berkeley DB for Windows Mobile | Next

## Windows Mobile notes

1. The C++ API is not supported on Windows Mobile. The file stream and exception handling functionality provided by the Berkeley DB C++ API are not supported by Windows Mobile. It is possible to build a C++ application against the Berkeley DB C API.
2. The Java API is not currently supported on Windows Mobile.
3. Tcl support is not currently supported on Windows Mobile.
4. Berkeley DB is shipped with support for the Pocket PC 2003 and Smartphone 2003 target platforms. It is possible to build Berkeley DB for different target platforms using Visual Studio's Configuration Manager.

   This can be done using the following steps:

   1. Open Visual Studio, and load the `build_wince/Berkeley_DB.sln` solution file.
   2. Select the Build->Configuration Manager... menu item.
   3. In the Active Solution Platform... dropdown, select New...
   4. Select the desired target platform (you must have the desired Microsoft Platform SDK installed for it to appear in the list). Choose to copy settings from either the Pocket PC 2003 or Smartphone 2003 platforms.

   Before building the wce_tpcb sample application for the new platform, you will need to complete the following steps:

   1. Open the project properties page for wce_tpcb. Do this by: Right click wce_tpcb in the Solution Explorer then select Properties
   2. Select Configuration Properties->Linker->Input
   3. Remove `secchk.lib` and `crtti.lib` from the Additional Dependencies field.

   NOTE: These steps are based on Visual Studio 2005, and might vary slightly depending on which version of Visual Studio being used.

Prev | Up | Next
Chapter 5. Building Berkeley DB for Windows Mobile | Home | Windows Mobile FAQ