Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I get the Machine Name?

0 views
Skip to first unread message

Usha Kolachalam

unread,
Jun 7, 2001, 1:07:50 PM6/7/01
to
Hi!

How do I get the Machine Name. Guess there is some function which we
could use. But somehow I cannot find it.

Thanks in advance.

usha

Ken

unread,
Jun 7, 2001, 2:31:18 PM6/7/01
to
You can find the machine name in the registry under

HKLM\System\CurrentControlSet\Control\ComputerName\ComputerName


"Usha Kolachalam" <usha.ko...@merant.com> wrote in message
news:3B1FB4E6...@merant.com...

Usha Kolachalam

unread,
Jun 7, 2001, 2:52:36 PM6/7/01
to
Thanks a lot. I really appreciate your help.

usha

"Brian R. Eickhoff" wrote:

> See attached file for a function that will retrieve the computer name.
>
> Have a great day!
>
> (prototype maGetComputerName(BYREF STRING);)


>
> "Usha Kolachalam" <usha.ko...@merant.com> wrote in message
> news:3B1FB4E6...@merant.com...

> Name: magetcompname.rul
> magetcompname.rul Type: NOTE (application/x-unknown-content-type-rul_auto_file)
> Encoding: x-uuencode

0 new messages