?
Solved

Serialization

Posted on 1998-11-13
2
Medium Priority
?
268 Views
Last Modified: 2010-04-02
Hi everyone... I have a dialog based MFC. It will read a text file to get initial values. When the user exits the program, the text file will be updated with new initial values depending on what the user changed. I am concerned that the text file may be lost or seperated from the exe file. What can I do to avoid using a text file? I have had suggestions of using the registry, or using serialization. what is the best way and how do I do it? I read about serialization and got lost in the wording. Help... Thank you
0
Comment
Question by:rose337
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Expert Comment

by:yonat
ID: 1177827
If it's just a few fields in a dialog box, just use the registry and don't bother with serialization.
0
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 210 total points
ID: 1177828
Searialization stores data in a separate file as well. The commonly used way in windows is to use the registry (Reg* functions), or Ini files.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question