Err I hate to break some assumptions here but there is one spectacular difference 
between Wine's Registry and a Windows Registry.

Wine's registry is stored per user Windows registry is stored per machine.

The following example will show some of the ramifications of this accident of Wine's 
current implementation.  A common setup in schools (elementary through university 
level) is a computer lab where
people can log on to any machine and their home directory is mounted from a file 
server.

In this situation the machine name in the registry should _not_ be constant because 
they may be logged in to machine foo one hour and bar the next.

This suggests that the registry storage could be split up yet further to handle 
machine specific and static entries.  GACK.

The .winerc file (or our per Corel application version) suffers from the same problems 
because mount points are not reuired to be common across machines or even 
distributions :(

        Albert.

Andreas Mohr wrote:
> 
> On Wed, Mar 01, 2000 at 05:20:53PM -0800, Alexandre Julliard wrote:
> > Andreas Mohr <[EMAIL PROTECTED]> writes:
> >
> > > Well, just what I said:
> > > E.g. query the host name.
> > > I just saw before that the registry automatically queries the host name
> > > and saves it (upon every startup !).
> >
> > Well, yes, that's exactly the right thing to do. Were you suggesting
> > to get the host name once and save it in the registry forever? That
> > would be pretty broken IMO.
> Exactly.
> Just as on Windows.
> You know that little part where Windows setup asks for the computer name ?
> That's where it gets stored *once*.
> And as we have SetComputerNameA, we should store it once, too, I think.
> 
> Or maybe not ?
> What do you think ?
> 
> Well, at least SetComputerNameA has to store it in the registry, too
> (it doesn't).
> And GetComputerNameA has to retrieve the registry value, not call
> gethostname().
> 
> Andreas Mohr

--
Albert den Haan, Lead Developer @ Linux Port Team . Corel Corporation
[EMAIL PROTECTED]   x 5318
-- 
The address in the headers is not the poster's real email address.  Do not send
private mail to the poster using your mailer's "reply" feature.  CC's of mail 
to mailing lists are OK.  Problem reports to "[EMAIL PROTECTED]".  
The poster's email address is "[EMAIL PROTECTED]".

Reply via email to