🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15473

Re: computer names

#15473
From: Michel Leunen
Date: Mon, 30 Jun 2003 14:18
16 lines
1527 bytes
Paul Ooi wrote:
> I need to list out all the computer names in the workgroup and other
> workgroups as well if possible, how do I do that?  Thank you.

Have a look at WNetEnumResouce().
If you need a working example, have a look at:

http://www.leunen.com/cbuilder/netenum.html

Michel
-- 
----------------------------------------
Michel Leunen
mailto:michel@leunen.com
http://www.leunen.com/cbuilder/
----------------------------------------
Technical Details
Message-ID: <3f0046a5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f0044eb$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,8a9ae7096d6d1508,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-30 07:41:35 PST
Date: Mon, 30 Jun 2003 16:18:07 +0200
From: Michel Leunen <mleu@skynet.be>
Organization: http://www.leunen.com/cbuilder/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: computer names
References: <3f0044eb$1@newsgroups.borland.com>
In-Reply-To: <3f0044eb$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 80.201.226.25
Message-ID: <3f0046a5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056982693 80.201.226.25 (30 Jun 2003 07:18:13 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail