Ok.
Code:
#include <windows.h>
#include <string>
static int INI_BUFFER_SIZE = 512;
string section = "Section Name";
string key = "Key Name";
string def = "Value if Key is not Found";
string file = "Path to the INI file.";
char* temp = new char[INI_BUFFER_SIZE];
GetPrivateProfileString( section.c_str(), key.c_str(), def.c_str(), temp, INI_BUFFER_SIZE, file.c_str());
//temp contains the value from the ini file, do something with it.
delete [] temp;
MSDN contains a good description of the function.
You could allways write your own text parser to read the info.