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.
Class | Purpose |
---|---|
CCeDBDatabase | Encapsulates 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 |
CCeDBEnum | Enumerates the databases in the object store |
CCeDBProp | Encapsulates a database property |
CCeDBRecord | Encapsulates 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.