我有设置目录共享的控件,主要是用如下几个API函数思想的:<br>function NetShareAdd; external 'SVRAPI.DLL';<br>function NetShareDel; external 'SVRAPI.DLL';<br>function NetShareGetInfo; external 'SVRAPI.DLL';<br>function NetShareSetInfo; external 'SVRAPI.DLL';<br>如果你要控件,告诉我一声,我发给你,OK?