Menu

#36 Multiple instance of IniConfigSource will break the file

open
INI (26)
5
2007-04-18
2006-07-28
Nicolas
No

When opening twice the same file it will break what you
have previously wrote:
so for exemple if you are doing this twice ( but the
second time just add new value don't overwrite):

IniConfigSource test = new IniConfigSource("name of the
file to open");
// write someting into the file
// then :
test.Save();

the second time it will corrupted the previous data.
For me it will change data like that:

from :

CONTENT = data1 "data2"

to

CONTENT = data1

Discussion

  • Brent R. Matzelle

    Logged In: YES
    user_id=163900
    Originator: NO

    Thanks!

     
  • Brent R. Matzelle

    • assigned_to: nobody --> bmatzelle
     

Log in to post a comment.