1. Nexus registry
- Posted by kbochert at copper.net Nov 06, 2002
- 415 views
I recently noticed the Nexus thread that mentions the use of the registry for configuration information. For what its worth, I would strongly recommend the use of an INI file. >From MSDN web site: " The Microsoft Computer Dictionary, Fifth Edition, defines the registry as: A central hierarchical database used in Microsoft Windows 9x, Windows CE, Windows NT, and Windows 2000 used to store information necessary to configure the system for one or more users, applications and hardware devices. The Registry contains information that Windows continually references during operation, such as profiles for each user, the applications installed on the computer and the types of documents that each can create, property sheet settings for folders and application icons, what hardware exists on the system, and which ports are being used. The Registry replaces most of the text-based .ini files used in Windows 3.x and MS-DOS configuration files, such as the Autoexec.bat and Config.sys. Although the Registry is common to several Windows platforms, there are some differences among them. " The first two paragraphs clearly state that the registry is used for configuring the operating system. The third paragraph mentions its use to replace .ini files in the same way that it replaces autoexec.bat and config.sys (again, system configuration.) Nowhere is it suggested that the registry is used to store application configuration. Finally, the registry was created to solve the problems introduced by .ini files, but those problems were only caused by the storing of system configuration, not application configuration. Use the registry to communicate with Windows. Use something else for internal persistence. Karl Bochert P.S. Has anyone noticed the new Microsoft installer (.MSI files)? It stores all of an application's uninstall info in the registry (hundreds of entries for a large package). Moreover, it cannot uninstall itself; If you uninstall it by backing up and restoring the registry around it, it goes away but then can not be re-installed. P.P.S. Is it true that the Win98 registry can only grow (no space ever re-used) but newer Windows (XP, 2000) can shrink the registry when entries are removed?
2. Re: Nexus registry
- Posted by Robert Szalay <robsz1 at netzero.net> Nov 06, 2002
- 400 views
The registry is our friend :P I see nothing wrong with using the registry to store application configuration. Microsoft does it(Microsoft Internet Explorer for example) :P Regards, Robert Szalay
3. Re: Nexus registry
- Posted by "C. K. Lester" <cklester at yahoo.com> Nov 06, 2002
- 394 views
> Microsoft does it(Microsoft Internet Explorer for example) :P Please, never say this again. 99% of what Microsoft does should not be done.
4. Re: Nexus registry
- Posted by acran at readout.fsnet.co.uk Nov 06, 2002
- 420 views
At 12:08 PM 11/6/02 -0500, you wrote: >The registry is our friend :P >I see nothing wrong with using the registry to store application >configuration. And many Windows applications do so. However, when your Windows based Euphoria application becomes the new "killer app" of all time you'll have to port it to Linux, Solaris, HP-UX, AIX, whatever it is that runs on AS/400's and a whole host of other platforms that don't have an equivilent of "the registry" so you'll have a heap of recoding to do. If you went with INI files (or whatever plain file structure you wanted to implement) in the first place then porting your application will be a breeze. Maybe I'm a cynic but I think that the only reason that Microsoft introduced the registry was to deter users and developers from messing around with their operating systems. If this is true (surely not then I guess that plan kinda backfired judging by the 42,000 hits I just got on Google searching on "registry hacks" Regards, Andy Cranston.
5. Re: Nexus registry
- Posted by Robert Szalay <robsz1 at netzero.net> Nov 06, 2002
- 409 views
Well, I personally like to use EDS for configuration settings and anything else i might need to store. What can I say, I love it :P Uhmm EDS .edb files are cross-platform, arent they ? EDS ALL THE WAY Regards, Robert Szalay
6. Re: Nexus registry
- Posted by jbrown105 at speedymail.org Nov 06, 2002
- 403 views
On 0, Robert Szalay <robsz1 at netzero.net> wrote: > > The registry is our friend :P > I see nothing wrong with using the registry to store application > configuration. > Microsoft does it(Microsoft Internet Explorer for example) :P > > Regards, > Robert Szalay > Pure evil. --