🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Validating a UNC path?

#2269
From: Koen
Date: Mon, 19 Mar 2007 16:19
14 lines
1312 bytes
Mike K wrote:

> Koen wrote:
>> I don't know, but you could enumerate the computers in the network, 
> 
> How would you do that? Is there an API call for it?
> 
> 

http://groups.google.com/groups/search?q=enumerate+network+group%
3Aborland.public.cppbuilder.*&qt_s=Search+Groups

Basicly, you'll need a recursive function using WNetOpenEnum and 
WNetEnumResource to retrieve the computernames.
Technical Details
Message-ID: <Xns98F8A60B2A4FDkoenhacom@207.105.83.66>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45fd5145$1@newsgroups.borland.com> <Xns98F86328FAFACkoenhacom@207.105.83.66> <45fe8318$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ab4fc69609086270
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Validating a UNC path?
From: Koen <koen@ha.com>
References: <45fd5145$1@newsgroups.borland.com> <Xns98F86328FAFACkoenhacom@207.105.83.66> <45fe8318$1@newsgroups.borland.com>
Message-ID: <Xns98F8A60B2A4FDkoenhacom@207.105.83.66>
User-Agent: Xnews/5.04.25
NNTP-Posting-Host: 81.246.59.163
Date: 19 Mar 2007 08:19:20 -0800
X-Trace: newsgroups.borland.com 1174317560 81.246.59.163 (19 Mar 2007 08:19:20 -0800)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail