home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Programming Unleashed
/
Delphi_Programming_Unleashed_SAMS_Publishing_1995.iso
/
misc
/
explorer
/
expini.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1995-03-20
|
510b
|
31 lines
unit Expini;
{ Program copyright (c) 1995 by Charles Calvert }
{ Project Name: EXPLORER }
interface
uses IniFiles;
const
WinPathLen = 144;
IniFileName = 'explorer.ini';
var
IniFile: TIniFile;
HasIni: Boolean;
implementation
uses WinProcs, SysUtils, StrUtils;
var
a: array[0..WinPathLen] of char;
initialization
GetWindowsDirectory(a, SizeOf(a));
HasIni := FileExists(AddBackSlash(StrPas(a)) + IniFileName);
IniFile := TIniFile.Create(IniFileName);
end.