Autor Beitrag
Almidagu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: Mo 19.07.04 20:50 
Guten Abend,

die Frage ist kurz und steht im Titel. Es gibt keinen entsprechenden Methoden in TMemIniFile, nur zum Löschen :)

Sollte ich selbst dies programmieren, oder gibt etwas, was ich nicht gefunden habe?

Danke im Voraus.
Almidagu
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Mo 19.07.04 21:55 
Ich habe mit TMemIniFile noch nie gearbeitet. Aber wenn es genauso wie TIniFile funktioniert, dann erstellt er die Section automatisch, sobald du einen Wert reinschreibst.

PS: Was ist an TMemIniFile eigentlich besser als an TIniFile?

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
Almidagu Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: Mo 19.07.04 22:47 
Vielen Dank für schnelle Antwort!

TMemIniFile funktioniert genau wie TIniFile aber macht alle Operationen im Speicher. Die Datei wurde nur dann geändert, wenn die Methode UpdateFile aufgerufen wird.

Almidagu