Re: Computer Name and User Name
From: Eugene Gershnik (gershnik_at_hotmail.com)
Date: 12/24/04
- Next message: Arkady Frenkel: "Re: Thread pool: Non-I/O threads do not exit if I/O pending"
- Previous message: Steven Tang: "Strange problem drive me mad."
- In reply to: Jazzkt: "Re: Computer Name and User Name"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Arkady Frenkel: "Re: Thread pool: Non-I/O threads do not exit if I/O pending"
- Previous message: Steven Tang: "Strange problem drive me mad."
- In reply to: Jazzkt: "Re: Computer Name and User Name"
- Messages sorted by: [ date ] [ thread ]