次の方法で共有


Serialization Topics

OverviewHow Do I

Through class , MFC provides a default mechanism called serialization for storing data, including objects, in a file. Serialization lets your data objects persist from one program run to another by storing the contents of the objects in a file.

If you wish, you can bypass MFC serialization to create your own mechanism for persistent data storage. You will need to override the class member functions that initiate serialization at the user’s command. See the discussion in of the ID_FILE_OPEN, ID_FILE_SAVE, and ID_FILE_SAVE_AS standard commands.

What do you want to know more about?