I can’t use the Get*Profile functions because I’m using an older version of the Windows CE platform SDK which doesn’t have those. It doesn’t have to be too general.
[section] name = some string
I just need to open the file, check for the existence of ‘section’, and the value associated with ‘name’. Standard C++ is preferred.
What I came up with: