[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: GetComputerName() question
From:       Alexandre Julliard <julliard () winehq ! com>
Date:       2002-10-31 16:28:13
[Download RAW message or body]

Martin Wilck <Martin.Wilck@Fujitsu-Siemens.com> writes:

> I'd propose: If the registry contains an explicit ComputerName entry,
> use it as Netbios name; otherwise, use the Unix hostname. This would
> affect only the users that enter a Netbios name in their registry, and
> thus not those with changing host names that you're worried about.

This works for GetComputerName(), but not for apps that look directly
in the registry. This is why we need to put something in there. I'm
still not sure what your problem is, apart from it being an FQDN. Why
wouldn't it work to set the registry from the hostname on startup?  Do
you really need a NetBIOS name different from the hostname?

-- 
Alexandre Julliard
julliard@winehq.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic