can someone write or find an example for wxFileConfig read/write, pretty please?
[ininame]
iniarg1=value1
iniarg2=value2
iniarg3=value3
wxFileConfig example?
Re: wxFileConfig example?
thanks a bunch
Re: wxFileConfig example?
doublemax wrote:viewtopic.php?p=154875#p154875
Code: Select all
wxFileConfig * config = new wxFileConfig( "", "", filename);
config->Read( wxT("/initScript"), &initializationFile);
config->Read( wxT("/scriptEditor"), &scrEd);
config->Read( wxT("/imageEditor"), &imgEd);
delete config;
Re: wxFileConfig example?
Code: Select all
initializationFile = config->Read( wxT("/initScript") );
Use the source, Luke!
Re: wxFileConfig example?
sorry, my mistake, i've forgot to enter full path in 'filename'doublemax wrote:Code: Select all
initializationFile = config->Read( wxT("/initScript") );