The FileStore example demonstrates how to read/write an employee class from/to a file store.
It is a GUI based example which uses CEmployee class to store necessary employee information.
The WriteEmployeeToStoreL() method stores a single employee details to a file store.
The ReadEmployeeFromStoreL() method reads a single employee details from a file store.
The WriteEmployeesWithMultiStreamsL() method stores details of multiple employees to a file store.
The ReadEmployeesWithMultiStreamsL() method reads details of multiple employees from a file store.
Click on the following link to download the example: FileStore.zip
Click: browse to view the example code.
RPointerArray
, CFileStore, RStoreWriteStream
, TStreamId
, RStoreReadStream