Using MFC Classes with Property Databases

MFC provides a set of classes that make accessing property databases easier than calling the API function directly. Table 4.23 lists the classes and their purpose.

Table 4.23. MFC property database classes
ClassPurpose
CCeDBDatabaseEncapsulates a database in the object store. Includes methods for opening, closing, creating, and deleting a database, seeking to records, and reading, writing, and deleting records
CCeDBEnumEnumerates the databases in the object store
CCeDBPropEncapsulates a database property
CCeDBRecordEncapsulates a database record

Since the CCeDBDatabase class does not at present support data volumes, you are limited to creating databases in the object store with these classes.

The best way ...

Get Windows® CE 3.0 Application Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.