BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Migrating from Registry to Binary File

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++)
View previous topic :: View next topic  
Author Message
Saravanan
Guest





PostPosted: Thu Jul 13, 2006 5:43 pm    Post subject: Migrating from Registry to Binary File Reply with 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
Pete Fraser
Guest





PostPosted: Thu Jul 13, 2006 6:07 pm    Post subject: Re: Migrating from Registry to Binary File Reply with quote



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





PostPosted: Thu Sep 07, 2006 5:24 pm    Post subject: Re: Migrating from Registry to Binary File Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.