procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end; function ADsGetObject(const PathName: WideString; const GUID:TGUID; out I: IUnknown): HRESULT; stdcall; var IISConfigFrm: TIISConfigFrm; implementation {$R *.dfm} function ADsGetObject;external 'ActiveDS.dll' name 'ADsGetObject'; procedure TIISConfigFrm.dlbIISChange(Sender: TObject); begin edtPath.Text:=dlbIIS.Directory; end; procedure TIISConfigFrm.bbtOKClick(Sender: TObject); var I: IADsContainer; ADs: IADs; begin if Length(Trim(edtAlias.Text))=0 then begin Application.MessageBox('別名不可以為空!','警告'); Exit; end; if Length(Trim(edtPath.Text))=0 then begin Application.MessageBox('請選定虛擬目錄位置!','警告'); Exit; end; |
正在阅读:使用Delphi创建IIS虚拟目录使用Delphi创建IIS虚拟目录
2004-03-19 10:39
出处:CSDN
责任编辑:linjixiong
键盘也能翻页,试试“← →”键