Possible Duplicate:
Windows Folder Share API
I need my C++ application to occasionally create shared directories. I am using Embarcadero C++ Builder XE which has only the CreateDir()
function which has no way to specify shared access. Is there anything within the Embarcadero C++ Builder environment that will allow me to do this simply, or failing that is there a simple way to do this directly using the Windows API ? I have taken a look at the msdn pages for something that will allow me to do this but I have yet to find anything documented in a clear way.
EDIT Specifically the folder and its contents need to be accessible to all other machines on the network.