Results 1 to 2 of 2

Thread: I Need Help again !!

  1. #1

    Thread Starter
    Fanatic Member rudvs2's Avatar
    Join Date
    Mar 2001
    Location
    NZ
    Posts
    935

    I Need Help again !!

    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.

  2. #2

    Thread Starter
    Fanatic Member rudvs2's Avatar
    Join Date
    Mar 2001
    Location
    NZ
    Posts
    935
    umm Im still stuck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width