writing to tMemINIfile

From: Bob Richardson (bobr)
Date: 11/29/04


Date: Mon, 29 Nov 2004 14:07:35 -0800

For some reason this isn't working;

var MyINI : tmeminifile;
begin
  MyINI := TMemIniFile.Create('Test.ini');
  MyINI.WriteString('7','test','5');
  MyINI.free;
end;

I can ReadString's , but not WriteString's !! Anyone have an idea what the
fix is?



Relevant Pages

  • Re: writing to tMemINIfile
    ... | var MyINI: tmeminifile; ... TMemIniFile buffers all changes to the INI file. ... A method is provided to write the data from memory to the associated INI ...
    (comp.lang.pascal.delphi.misc)
  • Re: Ini file looses entries
    ... >On the other hand I don' think that's the reason in my case ... >because once a INI-file was shortened in two steps. ... Also to look at TMemIniFile which is not a front for the APIs ...
    (alt.comp.lang.borland-delphi)