The Initialization utility (dbinit) can be used to create databases that can be used on Windows CE. However, you cannot copy them directly to a Windows CE device from this utility. You must manually copy databases created with the dbinit utility to your Windows CE device.
Enable checksums for Windows CE databasesWhen creating a database that will be deployed to Windows CE, you should enable checksums. This helps to provide early detection if the database file becomes corrupt. |
At a command prompt on your computer, navigate to the directory where you want to create your database.
For example:
cd temp
Create your database by entering the following command:
dbinit -s database-name.db
The -s option enables checksums for the database.
TipYou can also configure database properties such as encryption and page size using the Initialization utility. See Initialization utility (dbinit). |
Copy the database to your Windows CE device.
For more about copying the database to your Windows CE device, see Copying a database to your Windows CE device.