🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.networks
2 messages
2 total messages Started by Elmar Daegele Thu, 20 Apr 2000 00:00
How to create a share from an application ?
#21
Author: Elmar Daegele
Date: Thu, 20 Apr 2000 00:00
15 lines
1541 bytes
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
Re: How to create a share from an application ?
#22
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads