#include "LegendApp.h" string bFullScreen = CIniFile::GetValue("bFullScreen","Display",LEGEND_INI_NAME); bool FullScreen = CLegendApp::convertToBool(bFullScreen); bool CLegendApp::convertToBool(string s) { if (s == "true"){ return true; } if (s == "false"){ return false; } else return true; }