1 Reply Latest reply on Nov 19, 2006 8:11 PM by BG Solutions

    Mac work around for baDeleteIniSection?

    BG Solutions Level 1
      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.
        • 1. Re: Mac work around for baDeleteIniSection?
          BG Solutions Level 1
          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.)