|
From: BG Solutions on 18 Nov 2006 20:49 Anyone have a work around for baDeleteIniSection on the Mac? For some reason baReadIni and baWriteIni are cross platform but baDeleteIniSection and baDeleteIniEntry are not.
From: BG Solutions on 19 Nov 2006 23:11 OK, I did this the hard way by reading the file in as a string, parsing the string into two parts, before and after the section to be extracted, then recombine and save. I cheated a little and tagged the start of my ini sections with more than just "[" so that section blocks would be easier to identify (Among other things I'm storing passwords encrypted with baEncryptText which, as it turns out, might include the "[" character in the encrypted string.)
|
Pages: 1 Prev: Problem Connecting to MYSQL db Next: Help with lingo.ini |