[Re: [lazarus] Components/Code needed]
Michal Bukovjan
mbukovjan at netscape.net
Wed Aug 11 15:18:32 EDT 1999
I second that. The XML structure is much more transaprent than the Microsoft's
mysterious and all-in-one-place registry.
BTW, I heard rumours that even in Microsoft it is hard to find somebody who
actually knows how this registry works internally :-(
Michal Bukovjan
"Michael A. Hess" <mhess at miraclec.com> wrote:
> Jeff Wormsley wrote:
> >
> > One possibility would be to wrap the registry functionality onto files
> > that were accessed like INI files. The key tree stucture could be a
> > trick, but not too bad. This would allow the files to be treated
> > pretty much like normal conf files, in that they would be text
> > editable.
>
> The ini method would be easiest as I stated earlier since I have already
> written the TInifile and it is in the FCL. As to the tree structure that
> should be that much of a deal. It would just be a matter of loading all
> of the tree levels into one name and making that a section head Ex.
>
> [HKEY_LOCAL_MACHINE-SOFTWARE-Lazarus]
>
> The tree itself is really just an illusion.
>
> The other alternative which in fact might be the best alternative would
> be to make it be an XML document. Then you could maintain the actual
> Tree structure and appearance in the file itself. Would make editing it
> very easy. I kind of like this idea better myself since we do hav XML
> capability in the FCL now.
>
> Opinions?
>
> --
> ==== Programming my first best destiny! ====
>
> Michael A. Hess Miracle Concepts, Inc.
> mhess at miraclec.com http://www.miraclec.com
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
More information about the Lazarus
mailing list