Okay all

Heres my dilemma

I am creating a component that will run on a server

I want the clients to access this component and run it using com+

No problem here all works as intended

However one of the tasks i need to perform is to create and share a folder on the server

I can create the folder easily enough by using mkdir and then supplying a UNC path to the server with the new folder name tagged at the end

Where I am stuck is sharing it

I need 1 of 2 things

Either a way to use the Dll sitting on the server to somehow let me browse the server as if it were local and perform actions on the server as if it were local (i cant seem to make this work because com+ makes the dll think it is running on the remote computer accessing it.)

Or I need a way of creating a share using only the Unc.

I did have an api call which i spent hours on only to find that it wont actually work on windows 2000 workstations which the app will need to run from in some cases.

If any one can help provide ideas or workarounds it would be usefull

PS I Dont need the code for creating the shares as such just the method to make it think it is on the server.