From: BG Solutions on
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
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.)