• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • Last Modified:

file with Registrystyle

Hello all,
i want to store data, like in the registry, but in other file. Is there any way to do so ?
Thanks in advance
0
PaTrick_Hayder
Asked:
PaTrick_Hayder
  • 2
1 Solution
 
arhCommented:
At first look there is no way. But you can create keys and values that you need in Registry, store them in separate file by RegSaveKey function, and delete them. When you will need to
use this data, load it by RegRestoreKey into registry.
0
 
AvonWyssCommented:
It may depend on what exactly you want to behave like in the registry. It is possible without too much pain to create object classes that are able to store/restore themselves in/from a file.
0
 
mirek071497Commented:
I think so you need file in which you can find key, replace key, etc. Then ini files is good solution for you. In 32bit environment you don't need ini files to store registry values but you can free use them to store you'r own configuration data. You can specify the name of file which can differ in extension from "*.ini" and use as a real ini file.
0
 
mirek071497Commented:
Do you need example or you don't read this ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now