Данные в файле INI, аналогичные следующему: < /p>
Код: Выделить всё
[sdl]
fullresolution=0x0
fullscreen=true
output=opengl
autolock=false
[dosbox]
machine=svga_s3
memsize=16
[render]
frameskip=0
aspect=false
scaler=normal2x
[cpu]
core=normal
cputype=auto
cycles=10000
cycleup=1000
cycledown=1000
.....
< /code>
Я попытался что -то сделать, но он просто читает заголовки ([SDL], [dosbox], [render], ...). < /p>
wxFileConfig config(wxEmptyString, wxEmptyString, wxEmptyString, wxGetCwd() + "\\dosbox.conf");
wxString str;
long idx;
bool bCont = config.GetFirstGroup(str, idx);
while (bCont) {
bCont = config.GetNextGroup(str, idx);
debugMsg("%s", str);
}
Подробнее здесь: https://stackoverflow.com/questions/555 ... e-entirley