Limitations and downsides The TIniFile class uses the Windows API which imposes a limit of 64KB on INI files. If you need to store more than 64KB of data, you should use the TMemIniFile instead, it does not have a limit of 64KB.呵呵,用TMemIniFile就Ok了看http://delphi.about.com/library/weekly/aa120401a.htm去了
INI files (all kinds) are handled by windows. In Windows 3.1, Windows 95 and Windows 98, INI files are limited to 64K in size. This is a Windows limitation. In Windows NT/2000 does not have this restriction and INI files can be any size. 呵呵,现在都不做Win9x的东西了,没影响的当然用XML会更好的
Ini在2000以上系统没64K的限制的
The TIniFile class uses the Windows API which imposes a limit of 64KB on INI files. If you need to store more than 64KB of data, you should use the TMemIniFile instead, it does not have a limit of 64KB.呵呵,用TMemIniFile就Ok了看http://delphi.about.com/library/weekly/aa120401a.htm去了
In Windows 3.1, Windows 95 and Windows 98, INI files are limited to 64K in size. This is a Windows limitation. In Windows NT/2000 does not have this restriction and INI files can be any size. 呵呵,现在都不做Win9x的东西了,没影响的当然用XML会更好的
二进制文件更好,他人不能显式察看内容!
二进制当然也可以,但是读取不方便.
你可以选择用txt方式
也可以自己定义一个文件类型来,我一般是这样做的,这样不但可以使它人不能轻易查看你的内容.而且你自己对它的控制也比较方便.