Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Create folder shares

Hi!
Not a complete beginner, but lack low-level windows knowledge.
I need to create folder shares when my program first intializes. Is there a Windows function to do this? Nothing in Delphi help. I know you can also create the registry entries, but how do you make windows update the shell(?) so that the new registry share entries are recognised.

Easy enough to do manually i.e. from any folders right-click, sharing menu!
I have searched extensively but found nothing on this subject.
Thanks anyone!
Mike

Comments

  • zibadianzibadian Member Posts: 6,349
    : Hi!
    : Not a complete beginner, but lack low-level windows knowledge.
    : I need to create folder shares when my program first intializes. Is there a Windows function to do this? Nothing in Delphi help. I know you can also create the registry entries, but how do you make windows update the shell(?) so that the new registry share entries are recognised.
    :
    : Easy enough to do manually i.e. from any folders right-click, sharing menu!
    : I have searched extensively but found nothing on this subject.
    : Thanks anyone!
    : Mike
    :
    :
    Yes, it is possible. Delphi 4+ can access the shell directly using interfaces, but the problem is to find the correct interface method to call, since these are very poorly described by microsoft (possibly the understatement of the year). You might be lucky in finding a reference in the knowledge-base at the microsoft homepage, but it is very difficult to find there what you need.
Sign In or Register to comment.