|

CPersistRegistry class
A simple persist class modelled after the ATL IPersistStorageImpl.
It writes data to the registry.
You can use this class as a helper class for persisting your
application state or to replace the IPersistStreamInit implementation
that ATL provides in the IPersistStreamInitImpl class.
The class works just like the ATL
AtlIPersistStreamInit_Load and AtlIPersistStreamInit_Save
method called from the IPersistStreamImpl class.
It retrieves and stores properties defined in the
BEGIN_PROP_MAP / END_PROP_MAP property map.
Interface
| | Name | Description |
 | Load | Loads the property map from the given registry key. |
 | Save | Saves the property map from the given registry key. |
 | AtlPersistRegistry_Load | The internal load function. |
 | AtlPersistRegistry_Save | The internal save function. |
Source Code Dependencies
Microsoft ATL Library
Download Files
Written by Bjarke Viksoe. Article submitted 6/7/2001.
|