J jlmouse Unregistered / Unconfirmed GUEST, unregistred user! 2000-05-29 #1 在isapi 运行时,我需要从和这个dll同一个目录中的文本文件中取出 一些数据,可是不知道该如何得到?
K kawen Unregistered / Unconfirmed GUEST, unregistred user! 2000-05-30 #2 procedure TWebModule1.WebModuleCreate(Sender: TObject); var FN: array[0..MAX_PATH- 1] of char; pathname:string; begin SetString(PathName, FN, GetModuleFileName(hInstance, FN, SizeOf(FN))); pathName := ExtractFileDir(pathname)+'/'; end;
procedure TWebModule1.WebModuleCreate(Sender: TObject); var FN: array[0..MAX_PATH- 1] of char; pathname:string; begin SetString(PathName, FN, GetModuleFileName(hInstance, FN, SizeOf(FN))); pathName := ExtractFileDir(pathname)+'/'; end;