procedure aaa;<br>var<br> sDllName : array[0..255] of char;<br> sIniFile : String;<br>begin<br> GetModuleFileName(HInstance,sDllName,255);<br> sIniFile := ChangeFileExt(sDllName,'.ini');<br>end;