Re: Ini File vs Registry



"BobF" <nothanks@xxxxxxxxxxxxxx> wrote in message
news:Ogdmf8dGJHA.4836@xxxxxxxxxxxxxxxxxxxxxxx
Joseph M. Newcomer wrote:
What do you mean "abuse of my registry"? What, exactly, constitutes
"abuse"? Where is it
defined that the sole purpose of the Registry is to deal with
interactions with the
operating system? I never heard of this as a concept that could even
make sense, let
alone that it is a policy decision anywhere, on any site!

The Registry was designed to hold structured information for whatever
purposes the
programmer chooses to use it. It is there for a reason, and the reason
is NOT exclusively
to deal with OS interactions. In fact, the whole idea of limiting for
that purpose is
completely silly!
joe

Also, IIRC, use of the registry instead of ini files is a logo
requirement. If that matters to anybody ...

OAN, I have several apps that make liberal use of the registry -much more
than 30K- and that NEVER bothered me until I started reading this thread
:-))


I'm biased against using the registry to store app data because I favor
being able to quickly move the data with the app (if the app is on a USB
stick, and I want to take it with me). Also even though app data is in a
separate hive than system data, there is something unclean about putting my
app data long with the system info such as what PID/VID is the disk drive.

For real world concerns, registry fragmentation seriously slows down reading
of a lot of values. Maybe MS fixed that in 2K/XP/Vista, but in Win9x, I got
complaints that my app took 2 minutes to appear when all it was doing was
reading a couple hundred registry strings. I got the message and moved to a
text file, and the complaints disappeared.

When Win95 came out with the registry, I thought MS was going backwards. I
still think they were.

-- David


.



Relevant Pages

  • Re: Mobile Service & Auto Start
    ... The RegRestoreFile API is only supported by the object store-based registry. ... have never needed to write an app like this and I just figured ... So I have an exe that I start 5 min after I push a button. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Ini File vs Registry
    ... How do you manage the settings? ... dollars in hacking the OS to introduce the concept of registry ... Hard to migrate app ... but increasingly desktop developers are fighting it out ...
    (microsoft.public.vc.mfc)
  • Re: VFP Updates?
    ... Account", which is what many users do, e.g. in company networks. ... WinXP limited accounts as well as Vista UAC is quite easy ... considerations for installing and running a VFP app in Vista. ... directory/folder IS), and you don't need to write to registry, I think ...
    (microsoft.public.fox.programmer.exchange)
  • Re: OT - Desktop Linux
    ... I want to delete the file, but let the app using it to continue ... But it keeps it in the main registry instead of creating a per user ... It's next to impossible to shift apps from disk to disk ... drives can be mounted at will at any mount point or even as a ...
    (alt.sports.basketball.nba.la-lakers)
  • Re: How to allow my some of users to access to windows registry
    ... Sorry I meant HKCU. ... customization of the user running the app will be read from the registry. ... Secondly as part of the installer you would set permissions on ...
    (microsoft.public.win2000.advanced_server)

Loading