07-13-2001 12:11 AM
07-13-2001 10:18 AM
11-23-2016 10:10 AM
Hi Roberto,
And what if I do want to replace the content instead of writing the new info at the end of the file?
I have tried not using Ini_ReadFromFile but it is mandatory before reading any info inside the ini file...
Thanks
11-23-2016 10:43 AM
The procedure remains the same: Ini_ReadFromFile, Ini_PutXX, Ini_WriteToFile.
If the values you manipulate with Ini_Put lines already exist in the file, old content is overwritten with the new one. Non existent values are added in memory. Ini_Write saves the entire memory content to file, keeping new values added inside the section you had added them to: the file on disk is entirely rewritten to reflect the content of the IniText object.