Solved

Serialization

Posted on 1998-11-13
2
266 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 70 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

738 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