Mirror

TIniFile ini files are limited to 64KB - how to go beyond 64KB (Views: 101)


Problem/Question/Abstract:

TIniFile ini files are limited to 64KB - how to go beyond 64KB

Answer:

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.

<< Back to main page