🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.networks
Article #22

Re: How to create a share from an application ?

#22
From: Nicolas Blanche
Date: Thu, 20 Apr 2000 00:00
23 lines
1704 bytes
In article <38FEEB7A.C1C893EF@bln.siemens.de>, 
Elmar.Daegele@bln.siemens.de says...
> 
> Hi all,
> 
> I need to create a network share from a C++ Builder application,
> but I couldn't find any information concerning this issue in the
> internet. In fact, I have a directory C:\sample which I want
> to share for a specific existing group. In addition, this share
> has to be persistent, so that it is automatically shared after
> system reboot. A am trying all this under Windows NT 4.0.
> 
> Has anyone an idea how to solve this ? Maybe sample code ?
> 
> Thanks and bye
> 
> Elmar
> 

Use NetShareAdd()

Help / Restrictions / Comments and Sample at :
http://msdn.microsoft.com/library/psdk/network/ntlmapi2_0bxg.htm
Technical Details
Message-ID: <MPG.13692db6915b6b2b98968d@news.free.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38FEEB7A.C1C893EF@bln.siemens.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa91f,9897990bafce19c5
X-Google-Attributes: gidfa91f,public
X-Google-Thread: 113dfb,9897990bafce19c5
X-Google-Attributes: gid113dfb,public
X-Google-Thread: 105df1,9897990bafce19c5
X-Google-Attributes: gid105df1,public
X-Google-Thread: f5ca7,9897990bafce19c5
X-Google-Attributes: gidf5ca7,public
From: nicolas.blanche@NOSPAMc-s.fr (Nicolas Blanche)
Subject: Re: How to create a share from an application ?
Date: 2000/04/20
Message-ID: <MPG.13692db6915b6b2b98968d@news.free.fr>
X-Deja-AN: 613569578
References: <38FEEB7A.C1C893EF@bln.siemens.de>
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp6.proxad.net 956236123 194.2.40.131 (Thu, 20 Apr 2000 15:08:43 CEST)
Organization: CSSI
NNTP-Posting-Date: Thu, 20 Apr 2000 15:08:43 CEST
Newsgroups: comp.os.ms-windows.programmer.networks,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.win32,borland.public.cppbuilder.winapi