04-25-2005 04:03 PM
04-25-2005 05:03 PM
04-25-2005 05:13 PM
04-25-2005 06:05 PM
04-26-2005 09:04 AM
03-19-2014 07:36 PM
I'm using CVI2010 and had to use:
Ini_WriteToFile (g_myInifile, g_fileName);
in order to write to file after the change.
03-21-2014 02:48 AM
That's the expected behaviour.
The IniText is a structure in memory. You load it from a file on disk with Ini_ReadFromFile and save it with Ini_WriteToFile. Nothing strange with it.
Additionally, if you want to modify only some items in an existing .INI file while preserving the others, you must read the file, meodify desired values with the appropriate Ini_Put function and save it again, otherwise only the modified values will be savet to disk and other elements will be lost.
03-21-2014 04:33 AM - edited 03-21-2014 04:34 AM
@nesaboz79
I just focused on the original posts, which date back to 2005! It is better to open a new thread instead of reviving such a very old one.
In case the new question is related to the old thread you can link it as a reference.