 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Saravanan Guest
|
Posted: Thu Jul 13, 2006 5:43 pm Post subject: Migrating from Registry to Binary File |
|
|
Hi,
Currently i am using registry to store some of my application
configuration details. Since my configuration details is growing, i want to
move from registry to binary file. I want to minimize the amount of code
changes in my existing application. Is there any tool or code available
which has the same API like TRegistryIniFile to write to binary file ?
I tried out TfxRegFile. It is not working properly.
(http://cc.borland.com/item.aspx?id=23522)
Thanx a lot in advance.
Regards,
Saravanan A |
|
| Back to top |
|
 |
Pete Fraser Guest
|
Posted: Thu Jul 13, 2006 6:07 pm Post subject: Re: Migrating from Registry to Binary File |
|
|
Why not write to ini file instead?
It makes it much easier to change details and keeps the same api.
I always write my config details in text now as it stops me from
having problems when the file gets corrupted etc.
HTH Pete
"Saravanan" <asaravanan (AT) ften (DOT) com> wrote in message
news:44b63d08$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Hi,
Currently i am using registry to store some of my application
configuration details. Since my configuration details is growing, i want
to move from registry to binary file. I want to minimize the amount of
code changes in my existing application. Is there any tool or code
available which has the same API like TRegistryIniFile to write to binary
file ?
I tried out TfxRegFile. It is not working properly.
(http://cc.borland.com/item.aspx?id=23522)
Thanx a lot in advance.
Regards,
Saravanan A
|
|
|
| Back to top |
|
 |
Saravanan Guest
|
Posted: Thu Sep 07, 2006 5:24 pm Post subject: Re: Migrating from Registry to Binary File |
|
|
| Quote: | I tried out TfxRegFile. It is not working properly.
|
Sorry for my above comments. TfxRegFile works absolutely great. My
understanding was wrong. TfxRegFile is a replacement for Tregistry and not
TRegistryIniFile.
Regards,
Saravanan. A |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|