Win9x question...
Warren E. Agin
wea at swiggartagin.com
Wed Jun 26 14:49:15 EDT 2002
Well then my follow-up e-mail is completely useless.
-Warren Agin
----- Original Message -----
From: Jerry Feldman
To: discuss at blu.org
Sent: Wednesday, June 26, 2002 2:32 PM
Subject: Re: Win9x question...
I think you still need to put this in context. Kevin is writing a program.
It is easy to find this informaiton by hand, more difficult to get it
programatically. I can generally answer much of the programming questions
in C or C++ but not in terms of a BASIC dialect I don't know.
From a program there are roughtly 3 ways:
1. Directly through an API. (best way)
2. Indirectly by calling a standard command and parsing the output.
3. By looking at Windows internal structures. I consider the Registry as an
internal structure in this context).
Host names are generally associated with each interface. On Windows, there
are pseudo interfaces. So you need to find the one associated with the NIC
or the IP address, or on a LAN without IP, the appropriate host name, also
associatred with a NIC card.
On 26 Jun 2002 at 13:46, Warren E. Agin wrote:
> I can confirm the first one. The second is likely dependent on the networking configuration - my registry does not contain that setting option.
--
Jerry Feldman <gaf at blu.org>
Associate Director
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
_______________________________________________
Discuss mailing list
Discuss at blu.org
http://www.blu.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blu.org/pipermail/discuss/attachments/20020626/033ae5fb/attachment.html>
More information about the Discuss
mailing list