From: Igor Korot <ikoro...@gmail.com>
Date: Fri, 26 Oct 2012 15:20:51 -0700
Local: Fri, Oct 26 2012 6:20 pm
Subject: wxFileConfig question
Hi, ALL,
I am trying to write an application that uses wxFileConfig on both Windows and Linux. I made the test file called "test.ini" and placed it in the appropriate place. test.ini:
[Device1]
[Device2]
Now in the code here is what I do:
wxFileConfig *config = new wxFileConfig( "test.ini" );
}
config->SetPath( oldPath );
The problem is that the loop succeeds on the first iteration for the
However if I change the code to read:
for( size_t i = 1; i <= devicenum; i++ )
}
I can read both "Device1" and "Device2" parts.
Is this a known problem? I'm currently on Windows (7) with wx-2.9.4 compiled with MSVC-2010.
Thank you.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||