Ejemplo n.º 1
0
void Ini::SetPath(const char *path)
{
	if (!INI_FindSection(path, false))
	{
		printf("Could not find [%s] section in INI file!", path);
	}
}
Ejemplo n.º 2
0
BOOL Config_Open()
{
  INI_Open();
  if(INI_FindSection("SETTINGS",FALSE) == FALSE) {
    INI_Close();
    ERRLOG("Could not open configuration");
    return FALSE;
  }
  return TRUE;
}