Windows Registry

In the old days, we used to save all user defined settings in an "ini" file, which was usually located in the same directory as the program. Simple but sometimes not enough. This was problematic if the user changed the current directory because there was no way for the program to know what the original directory was. With Windows it became worse because you could have shortcuts. Hence, MS came up with the concept of the "registry" which is supposed to be a centralized location for program settings, run commands, and pretty much anything else that someone might want to save. They also made it flexible in that the registry is somewhat specific to the user.

The bottom line -- it sure would be nice to have a library that allowed us to create/delete/read/write registry entries. Any suggestions?


I still prefer the old

I still prefer the old fashoined way of INI files. Microsoft is just not consistent enough with registry entries across different versions for me.





I couldn't agree more. It would indeed be a very useful library. If I knew how the Reistry worked I would have a go myself. Maybe I should find out - unless somebody else already knows.

Big John



I don't think you want to know. I tried messing with it some years ago - and forgot to back it up first. What made it worse for me was that it was a company computer - and that was a W98 machine. The boss was not amused.

Anyway, go to the run prompt and call up regedit (and I think you probably know all this anyway). That will open the registry which is the most gawdawful cyber maze I've ever seen.



Hi Ron,

Thanks for the tip. Yes, I have looked at the registry myself, and I am with you on this one - it looks messy. There must be some rational explanation for the way registry is constructed but it is not blindingly obvious. Probably what is more important - what does Windows do with the stuff in the registry? I get the feeling that deleting or modifying stuff in the registry is likely to be a disaster - hence my reluctance to mess with it.

Big John