#170442 - 2006-11-19 07:21 PM
Re: INI file size limit?
|
Glenn Barnas
KiX Supporter
   
Registered: 2003-01-28
Posts: 4403
Loc: New Jersey
|
OK - specifically: I can read it with Open/Readline; I can read/write it with ReadProfileString / WriteProfileString;
I CAN NOT do: Code:
$String = ReadProfileString('BigFile.ini', '', '')
to enumerate all of the headers in the ini file. There are 6600 headers, each about 10-15 characters. If you average them at 13 chars, plus the newline, that's 96K string size. Since I can read/write the file in Kix using different methods, there's no issue with file size - either the enumeration in kix failed, or - more likely - the string size limit has been exceeded.
Glenn
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 1046 anonymous users online.
|
|
|