Mega Code Archive

 
Categories / Delphi / Examples
 

Tinifile ini files are limited to 64kb - how to go beyond 64kb

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 may want to use TMemIniFile instead. TMemIniFile does not have a limit of 64KB. Important: Remember to call the UpdateFile() method when you need the data to be written to disk: it does not do that automatically.