Re: Computer Name and User Name

From: Eugene Gershnik (gershnik_at_hotmail.com)
Date: 12/24/04


Date: Fri, 24 Dec 2004 03:44:24 -0800

Jazzkt wrote:
> This code was taken from the book WIN32 System Services for W98 and
> W2K. Among other things, it retrieves the name of the computer.

What it doesn't do is to bring the information OP wanted. Apart from that
this is a worst piece of C or C++ code I've seen in a long time. It leaks
memory and follows all possible bad practices almost on every line. I'd dump
this book ASAP ;-)

--
Eugene