General information
Category:
Coding, syntax & commands
Use NetShareAdd() to create a share and NetShareDel() to... Both are Win32 API functions.
Do a search for NetShare.c in the MSDN. It's a C program that shows how to use NetShareAdd(). NetShareDel() is very simple, I don't think you need an example.
Vlad
>I need to programatically create and delete shares. I have been putzing with some API's but none have really been doing a clean job. If anyone could help me out I would SO appreciate it.
>
>This could really be in VC, VB, VFP or whatever, as it will be a standalone. If anyone could point me at some good sample code I would be forever indebted. :)
>
>Joe Johnston
>(The Guy With The Bullseye On His Back)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only